check_snmp doesn't have performance data
Posted: Tue Sep 29, 2015 5:00 pm
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]
[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]