nrpe/plugin
Marc Powell
marc at ena.com
Mon Mar 10 04:31:22 CET 2008
Make sure you're using the latest version of check_procs. Make sure
you're using the latest version of NRPE. Otherwise, provide version
information for everything, including OS and how you installed the
plugins/NRPE in case someone wants to try to reproduce it.
--
Marc
p.s. Don't test as root. Nagios isn't running the plugin as root so
you may see different results.
On Mar 9, 2008, at 9:38 PM, alexus wrote:
> anyone??
>
>
> On Sat, Mar 8, 2008 at 6:04 PM, alexus <alexus at gmail.com> wrote:
>> 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/
>>
>
>
>
> --
> 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
-------------------------------------------------------------------------
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