I have been trying to fetch different OIDs from the correct mib, Unfortunately only the GET OIDs work in particular.. I need the plugin to fetch the Walk and Table based OIDs as well.
Is it possible using the Check_Snmp plugin? If so please let me know how?
Does Check_snmp plugin for Nagios Core only fetch snmp GET OIDs?
Re: Does Check_snmp plugin for Nagios Core only fetch snmp GET OIDs?
Have you considered running check_snmp -h, reading and comprehending the output? I'll condense it for you:
"This plugin uses the 'snmpget' command included with the NET-SNMP package."
"This plugin uses the 'snmpget' command included with the NET-SNMP package."
Re: Does Check_snmp plugin for Nagios Core only fetch snmp GET OIDs?
you can call IFDESCR as well. but i have detect an issue in nagios core 4.4.7.
the command in shell return ok.. but in dashboard return UNKNOWN
I already have tried in ARG1 like IfOperStatus.10150 and .1.3.6.1.2.1.2.2.1.8.10150 and 1.3.6.1.2.1.2.2.1.8.10150 (without lead dot) but no luck return always UNKNOWN
the command
Code: Select all
$USER1$/check_snmp -H $HOSTADDRESS$ -P 3 -U $USER3$ -L authPriv -a $USER4$ -A $USER5$ -x $USER6$ -X $USER7$ -o $ARG1$ $ARG2$
I already have tried in ARG1 like IfOperStatus.10150 and .1.3.6.1.2.1.2.2.1.8.10150 and 1.3.6.1.2.1.2.2.1.8.10150 (without lead dot) but no luck return always UNKNOWN