I'm using check_snmp at the following location but it doesn't have the -f option to log performance data. How can I turn on perfdata for snmp check? Please help.
[root@esu4v247 libexec]# ./check_snmp -H 11.120.220.13 -C simpsons -o .1.3.6.1.2.1.25.1.1.0
SNMP OK - Timeticks: (3015340695) 348 days, 23:56:46.95 |
/usr/local/nagios/libexec
[root@esu4v247 libexec]# ./check_snmp
check_snmp: Could not parse arguments
Usage:
check_snmp -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]
[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]
[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]
[-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto]
[-A authpasswd] [-x privproto] [-X privpasswd]
check_snmp doesn't have performance data
Re: check_snmp doesn't have performance data
I just replicated this on my machine with v2.0.3 of the check_snmp plugin. Which version are you using? This could be a bug in the plugin so i'll open an issue for it on github once we have it confirmed.
/Luke
-
jfrickson
Re: check_snmp doesn't have performance data
Bug confirmed and fixed. Fix is in the master branch - commit https://github.com/nagios-plugins/nagio ... 8d5bb25fadlgroschen wrote:This could be a bug in the plugin so i'll open an issue for it on github once we have it confirmed.