Wrong results from NRPE

Jorge Gonzalez jorge.gonzalez at degesys.com
Mon Oct 8 10:52:33 CEST 2007



Marc Powell escribió:
>   
>> -----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
>
>   
Hi Marc! yes, NRPE runs as nagios user. I tried with root and nagios 
user and file is 777

/jorge
> -------------------------------------------------------------------------
> 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
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jorge.gonzalez.vcf
Type: text/x-vcard
Size: 350 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071008/5d9407e8/attachment.vcf>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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