<br><br><div><span class="gmail_quote">On 1/23/07, <b class="gmail_sendername">De Wetenschapper</b> <<a href="mailto:wetenschapper@gmail.com">wetenschapper@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi guys,<br><br>when I execute a certain command on the client itself it is OK, but when executed from the server I get an other output. <br>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?<br><br>I thought the output on the nagios server should be the same as the output of the script in the client??<br><br>script executed on the client (GD6):
<br>[root@<span style="font-weight: bold;">BEEVSGD6</span> a125507]# /usr/lib/nagios/plugins/check_dell_sensors.pl<br>OK -- Fans=Ok; Hardware Log=Ok; Intrusion=Ok; Memory=Ok; Power Supplies=Ok; Processors=Ok; Temperatures=Ok; Voltages=Ok;
<br><br>script ran from the server with nrpe: <br>[root@<span style="font-weight: bold;">BEEVSGD4</span> a125507]# /usr/lib/nagios/plugins/check_nrpe -H <span style="font-weight: bold;">beevsgd6</span> -c check_omchassis
<br>
ALARM: omreport could not obtain user name. -- omreport could not obtain user name.=Error!**;<br><br>same script ran from the server but on an other machine(GD5) here it does work.<br>[root@<span style="font-weight: bold;">
BEEVSGD4</span> a125507]# /usr/lib/nagios/plugins/check_nrpe -H <span style="font-weight: bold;">beevsgd5</span> -c check_omchassis<br>OK -- Fans=Ok; Hardware Log=Ok; Intrusion=Ok; Memory=Ok; Power Supplies=Ok; Processors=Ok; Temperatures=Ok; Voltages=Ok;
<br><br>I don't know where to look. Can someone point me in the right direction?<br><br>Thanks in Advance,<br>Jan Lenaerts</blockquote><div><br>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.
<br><br>Rob<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-------------------------------------------------------------------------
<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge.net's Techsay panel and you'll get the chance to share your<br>opinions on IT & business topics through brief surveys - and earn cash
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV" target="_blank">http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
</a><br><br>_______________________________________________<br>Nagios-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br><br></blockquote></div><br>