<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face="Courier New" size=2><SPAN
class=138341905-15042008>Hi</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=138341905-15042008></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008>I'm running
nagios plugins on a group of solaris 9 machines. I use the check_by_ssh
command to check disk, load ect</SPAN></FONT></DIV>
<DIV><SPAN class=138341905-15042008><FONT face="Courier New"><FONT size=2>on the
remote machines. I'm running the same check<SPAN
class=964555914-18042008><FONT face=Verdana
color=#0000ff> _ </FONT></SPAN>by<SPAN class=964555914-18042008><FONT
face=Verdana color=#0000ff> _ </FONT></SPAN>ssh command against a
hostgroup of 15 machines, but one of them fails<SPAN
class=964555914-18042008> very often</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=138341905-15042008><FONT face="Courier New"><FONT size=2>and
returns (Return code of 255 is out of bounds)<SPAN
class=964555914-18042008> on one or more services, s</SPAN><SPAN
class=964555914-18042008>o services on that machine is constantly
flapping. </SPAN></FONT></FONT></SPAN></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008><SPAN
class=964555914-18042008></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008><SPAN
class=964555914-18042008>The machine which fails runs a DNS storage server
application, and seems to work fine, no errors in messages file, no counts on
interfaces,</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008><SPAN
class=964555914-18042008>ssh and all commands runs fine and so
on..</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=138341905-15042008></SPAN></FONT><FONT face="Courier New" size=2><SPAN
class=138341905-15042008></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008>If i run the
check_disk locally on the machine it works fine, and if i run it manually
from the nagios machine with check_by<SPAN
class=964555914-18042008>_</SPAN>ssh it also works fine, but if nagios runs it
it don't work ?? - and all other machines in the same group works fine -
strange</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=138341905-15042008></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008>this is
run<SPAN class=964555914-18042008> manually</SPAN> from nagios machine
:</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN
class=138341905-15042008>/usr/local/nagios/libexec/check_by_ssh -H
khk23dso3.ip.tdk.dk -l nagios -i /home/nagios/.ssh/id_rsa -C
'plugin/check_disk -w 25% -c 15% -l -X devfs'<BR><SPAN
class=964555914-18042008><FONT face=Verdana
color=#0000ff> </FONT></SPAN></SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=138341905-15042008>DISK
OK - free space: / 12192 MB (92% inode=99%); /usr 12668 MB (86% inode=95%); /var
4393 MB (69% inode=95%); /var/run 10628 MB (99% inode=99%); /tmp 10628 MB (99%
inode=99%); /opt 14585 MB (99% inode=99%); /export/home 8499 MB (87%
inode=99%);| /=970MB;9972;11301;0;13296 /usr=1957MB;11080;12557;0;14774
/var=1890MB;4759;5394;0;6346 /var/run=0MB;7971;9033;0;10628
/tmp=0MB;7971;9033;0;10628 /opt=41MB;11080;12557;0;14774
/export/home=1252MB;7387;8372;0;9850<BR></SPAN><SPAN
class=138341905-15042008> <SPAN
class=964555914-18042008> </SPAN></SPAN></FONT></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008><SPAN
class=964555914-18042008>I tried to print out the resultcode (echo $?) but i se
only 0 as resultcode. </SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008><SPAN
class=964555914-18042008> </SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=138341905-15042008>can anyone
help <SPAN class=964555914-18042008> or give an idea </SPAN>on
this problem</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=138341905-15042008></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=138341905-15042008>rgds,</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><FONT size=2><SPAN class=138341905-15042008>Peter
Calum</SPAN><SPAN
class=138341905-15042008> </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV></BODY></HTML>