nrpe/plugin

alexus alexus at gmail.com
Sat Mar 8 23:04:23 CET 2008


hi

i ran into one very interesting issue

whenever i do from nagios box

d# ./check_nrpe -H XX.XX.XX.XX -c check_procs -a rsync
PROCS OK: 1 process with args 'rsync'
/(!8@((c)Þ
d#

what with those extra characters??

on remote box in debug log i see following

Mar  8 16:58:02 box nrpe[61700]: Connection from XX.XX.XX.XX port 26050
Mar  8 16:58:02 box nrpe[61700]: Host address is in allowed_hosts
Mar  8 16:58:02 box nrpe[61700]: Handling the connection...
Mar  8 16:58:02 box nrpe[61700]: Host is asking for command
'check_procs' to be run...
Mar  8 16:58:02 box nrpe[61700]: Running command:
/usr/local/nagios/libexec/check_procs -a rsync
Mar  8 16:58:02 box nrpe[61700]: Command completed with return code 0
and output: PROCS OK: 1 process with args 'rsync' /(!8@(<A9><DE>^D^H^R
Mar  8 16:58:02 box nrpe[61700]: Return Code: 0, Output: PROCS OK: 1
process with args 'rsync' /(!8@(<A9><DE>^D^H^R
Mar  8 16:58:02 box nrpe[61700]: Connection from 64.237.55.82 closed.

yet if i issue command myself

su-3.2# /usr/local/nagios/libexec/check_procs -a rsync
PROCS OK: 0 processes with args 'rsync'
su-3.2#

any ideas?



-- 
http://alexus.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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