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<br>