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:

/opt/monitor/var/check_libvirt

as you can see here (line 37):

https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/-/blob/master/check_libvirt/check_libvirt

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.
Bye
E.

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

Reply via email to