[Pkg-nagios-devel] Bug#960923: nagios-plugins-contrib: check_libvirt wrong hardcoded cache file path

Enrico Rossi e.rossi at tecnobrain.com
Mon May 18 13:01:54 BST 2020

Package: nagios-plugins-contrib
Version: 24.20190301
Severity: normal

Dear Maintainer,

In order to run checks on libvirt VMs, like CPU etc... a cache file need
to be created. The path to this is hardcoded in the script as:


as you can see here (line 37):


I can see also that the package create some libvirt caches in
/var/lib/nagios/.cache, probably because it's the nagios home dir.
Not ideal, but changing that hardcoded path to something like
"/var/lib/nagios/.cache/check_libvirt" fix the problem.

Thanks for the package.

GPG key: 4096R/5E0195FAF2133176 2010-10-19 Enrico Rossi <e.rossi at tecnobrain.com>

More information about the Pkg-nagios-devel mailing list