[Nagiosplug-devel] [PATCH] check_snmp client source IP address support

Gregor Lawatscheck gl at mpexnet.de
Thu Mar 22 16:07:39 CET 2007


Please find attached a patch to support the optional specification of a
client source IP address in check_snmp.

If -S or --source is set the parameter --clientaddr is passed to snmpget
/ snmpgetnext. This is useful if you have various interfaces / IP
addresses bound on your nagios box and need to check SNMP using
different source IPs.

Please feel free to include this in the source tree and optimize the
code as you see fit.

Greetings,
Gregor
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_snmp_sourceip.patch
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20070322/f320b8ce/attachment.ksh>


More information about the Devel mailing list