check_snmp: Handle SNMPv3 noAuthNoPriv properly (#1245)
notifications at github.com
Tue Mar 11 11:38:14 CET 2014
The SNMPv3 noAuthNoPriv security level, somewhat unintuitively, requires
a security name to be passed along together with the request. Check_snmp
previously did not do this, causing snmpget to throw an error:
"External command error: No log handling enabled - turning on stderr
snmpget: No securityName specified"
This patch fixes the issue by always providing the security name when
noAuthNoPriv is specified.
Signed-off-by: Anton Lofgren <alofgren at op5.com>
You can merge this Pull Request by running:
git pull https://github.com/catharsis/nagios-plugins
Or you can view, comment on it, or merge it online at:
-- Commit Summary --
* check_snmp: Handle SNMPv3 noAuthNoPriv properly
-- File Changes --
M plugins/check_snmp.c (10)
M plugins/t/check_snmp.t (11)
-- Patch Links --
Reply to this email on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel