[Nagiosplug-help] Xen VM Monitor plugin problem

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Feb 12 04:36:22 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/02/08 10:39 AM, Hydropone wrote:
> Hi all,
> 
> I just found this cool plugin :
> http://www.novell.com/communities/node/2640/xen-virtual-machine-monitor-plugin-nagios
> 
> 
> to monitor VM on a Xen Host.
> 
> I followed the readme (and add user "nagios" to /etc/sudoers) ...
> 
> The plugin seems to work correctly on the Xen Host :
> 
> [root at host plugins]# su nagios
> sh-3.1$ /usr/lib64/nagios/plugins/check_xen -w 0 -c 0
> OK: Xen Hypervisor "host" is running Xen VMs: testvm
> 
> But on the nagios server, it report a wrong result :
> 
> root at nagios~ #/usr/lib/nagios/plugins/check_nrpe -H host -c check_xen
> Critical Xen VMs Usage - Total NB: 0 - detected VMs:
> 
> What did i miss ?

Make sure:

1. Check_nrpe is runnig as the nagios user (it the user even created?)
2. The nrpe check definition includes the sudo command
3. Running the exact command (including sudo) as the nagios user works.

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHsRQ26dZ+Kt5BchYRAv5qAKCo4TzfpyUQZIY54ojWOEJqw2J3oQCdFbwi
urVLVBqGtJZNNfiCpApSEm0=
=h9sz
-----END PGP SIGNATURE-----




More information about the Help mailing list