Page 1 of 1

Check_Snmp Plugin Issue?

Posted: Mon Jan 04, 2021 1:16 am
by RileyDylan
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
}