Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

maxx_s

Reviews(1)
bymaxx_s, February 11, 2014
Thank you for plugin!
I allowed myself to make some improvements.

Diff below

1 - Adding option for crypto protocol in snmpv3

75a76,81
> parser.add_option("-a","--snmp_protocol", dest="snmp_protocol",
> help="SNMP protocol (only with SNMP v3)", default=None)
> parser.add_option("-X","--snmp_passphrase", dest="snmp_passphrase",
> help="SNMP passphrase (only with SNMP v3)", default=None)
> parser.add_option("-x","--snmp_privproto", dest="snmp_privproto",
> help="SNMP privproto (only with SNMP v3)", default=None)
107c113
snmp_options = snmp_options + " -u %s -l %s -A %s -a %s -X %s -x %s " % (opts.snmp_username,opts.snmp_seclevel,opts.snmp_password,opts.snmp_protocol,opts.snmp_passphrase,opts.snmp_privproto)


2 - Option exclude now may be a list( -e [2,3,4]) usefull for powermodules check

234c240
if myIndex in opts.exclude: continue