Strange return code 255 on Solaris 9

Peter Michael Calum pemca at tdc.dk
Tue Apr 15 07:30:59 CEST 2008


Hi
 
I'm running nagios plugins on a group of solaris 9 machines. I use the
check_by_ssh command to check disk, load ect
on the remote machines. I'm running the same check by ssh command
against a hostgroup of 15 machines, but one of them fails and returns
(Return code of 255 is out of bounds).
 
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-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
 
this is run from nagios machine :
/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'
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
  
can anyone help on this problem
 
rgds,
Peter Calum  
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080415/64246f27/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-------------- 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