check_snmp fails to provide community string to shell

Tom Sommer mail at tomsommer.dk
Tue Feb 19 15:13:22 CET 2008


Hi,

check_snmp appears to be broken, it nolonger sends the community string to
the shell command.

Consider the following:

$ check_snmp  -H 127.0.0.1 -P 2c -C public
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 2c [authpriv] 127.0.0.1:161

No community is sent to the command, resulting in no data being returned
from the host.

I believe I saw a commit a while ago, that was an attempt to mask out the
community string in the output, perhaps this patch was a little too
aggressive?

Using 3.0rc2

Thanks
--
// Tom Sommer


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




More information about the Developers mailing list