Wrong results from NRPE
Marc Powell
marc at ena.com
Fri Oct 5 17:07:34 CEST 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Jorge Gonzalez
> Sent: Friday, October 05, 2007 9:42 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Wrong results from NRPE
>
> Hi all!
>
> I'm trying to get NRPE working but results are not what should be
> expected and I don't know why. If check_xenvm is runned from console
> without NRPE results are ok but with NRPE there's no VM running.
>
> /-sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen
> Critical Xen VMs Usage - Total NB: 0 - detected VMs:
>
> NRPE.conf
> command[check_xen]=/usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0
>
> -sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0
> OK: Xen Hypervisor "jano.degesys-test.net" is running Xen VMs:
> VM2
> clust1
> clust2
>
> -rwxrwxrwx 1 root root 2308 Sep 28 12:19 check_xenvm/
>
> I also tried with root user but nothing. What I'm doing wrong?
Are you testing the plugin as the user that NRPE is running as? That is
almost always the case when differences like this are seen.
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list