different check_command output on host than on server
Rob Blake
rob.blake at gmail.com
Mon Jan 29 13:53:48 CET 2007
On 1/23/07, De Wetenschapper <wetenschapper at gmail.com> wrote:
>
> 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@ 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
Are there any differences between the nrpe.cfg on beevsgd5 and beevsgd6? As
this is where the commands are defined I would assume that there is some
fundamental difference that is causing your error.
Rob
-------------------------------------------------------------------------
> 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
>
> _______________________________________________
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070129/65755365/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