different check_command output on host than on server

De Wetenschapper wetenschapper at gmail.com
Tue Jan 23 10:02:35 CET 2007


hi guys,

when I execute a certain command on the client itself it is OK, but when
executed from the server I get an other output.
I have no idea where to look for this, What is different from executing it
from the server or on the client itself, or that I'm forgetting?

I thought the output on the nagios server should be the same as the output
of the script in the client??

script executed on the client (GD6):
[root at BEEVSGD6 a125507]# /usr/lib/nagios/plugins/check_dell_sensors.pl
OK -- Fans=Ok; Hardware Log=Ok; Intrusion=Ok; Memory=Ok; Power Supplies=Ok;
Processors=Ok; Temperatures=Ok; Voltages=Ok;

script ran from the server with nrpe:
[root at BEEVSGD4 a125507]# /usr/lib/nagios/plugins/check_nrpe -H beevsgd6 -c
check_omchassis
ALARM: omreport could not obtain user name. -- omreport could not obtain
user name.=Error!**;

same script ran from the server but on an other machine(GD5) here it does
work.
[root at BEEVSGD4 a125507]# /usr/lib/nagios/plugins/check_nrpe -H beevsgd5 -c
check_omchassis
OK -- Fans=Ok; Hardware Log=Ok; Intrusion=Ok; Memory=Ok; Power Supplies=Ok;
Processors=Ok; Temperatures=Ok; Voltages=Ok;

I don't know where to look. Can someone point me in the right direction?

Thanks in Advance,
Jan Lenaerts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070123/be872c99/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- 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