check_snmp: Handle SNMPv3 noAuthNoPriv properly (#1245)

Anton Löfgren notifications at
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.

See also:

Signed-off-by: Anton Lofgren <alofgren at>
You can merge this Pull Request by running:

  git pull

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...
URL: <>

More information about the Devel mailing list