Dear All,
I can get the expected results while using check_snmp plugin from the /usr/lib64/nagios/plugins path, but not in the GUI. For an example, I have used the below command to get the uptime of cisco switch, but getting the error as No OIDs specified. Please check.
define command{
command_name check_snmp_cisco_Uptime
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $USER4$ -o $ARG2$
}
define service{
use generic-service
hostgroup_name Switches
service_description Uptime
check_command check_snmp_Uptime!sysUpTimeInstance
}