Hey folks, I was setting up new SNMP v3 checks and found out that check_snmp_sysinfo didn't have the -x parameter (privacy password). I modified it to take that parameter and it works for the one device I have running SNMPv3.
Here's the diff:
58c58
< getopts("hH:C:U:P:v:a:e:w:c:");
---
> getopts("hH:C:U:P:v:a:e:w:c:x:");
87a88,90
> if ($opt_x) {
> $snmpv3_privpassword = $opt_x;
> }
100a104
> -privpassword => $snmpv3_privpassword,
247a252
> -x SNMPv3 priv passphrase
I have also attached the modified check_snmp_sysinfo.
Rafael
--
Rafael Carneiro
http://ca.linkedin.com/in/rcarneiro
check_snmp_sysinfo
Description: Binary data
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
