[Nagios-devel] check_snmp fails to provide community string to shell

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] check_snmp fails to provide community string to shell

Post by Guest »

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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked