nagios core "No OIDs specified " error
Posted: Sat Jul 21, 2012 9:51 pm
Hi, I keep getting the "No OIDs specified" error in the web interface. I have tried everything
using ubuntu 11.04 with nagios core 3.2.3
manually I goto /usr/lib/nagios/plugins ./check_snmp -H 172.16.1.2 -C home -P 1 -o sysDescr.0
P OK - Cisco IOS Software
so that works fine
i do an smnpget - that also works fine
-the issue is nagios web interface never works, it just keeps saying no oid specified when I have specified it in the configuration!
I have outlined the command in
/etc/nagios-plugins/config/
define command{
command_name check_snmp_router
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -P '$ARG2$' -o '$ARG3$'
}
then in the main conft int /etc/nagios3/objects/switch.cfg
define service{
use generic-service ; Inherit values from a template
host_name Cisco Router
service_description check system
check_command check_snmp_router!-C home -P 1 -o sysDescr.0
}
am I missing something? I have watched various youtube vids and it looks as simple as that yet I cant get it to work!
using ubuntu 11.04 with nagios core 3.2.3
manually I goto /usr/lib/nagios/plugins ./check_snmp -H 172.16.1.2 -C home -P 1 -o sysDescr.0
P OK - Cisco IOS Software
so that works fine
i do an smnpget - that also works fine
-the issue is nagios web interface never works, it just keeps saying no oid specified when I have specified it in the configuration!
I have outlined the command in
/etc/nagios-plugins/config/
define command{
command_name check_snmp_router
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -P '$ARG2$' -o '$ARG3$'
}
then in the main conft int /etc/nagios3/objects/switch.cfg
define service{
use generic-service ; Inherit values from a template
host_name Cisco Router
service_description check system
check_command check_snmp_router!-C home -P 1 -o sysDescr.0
}
am I missing something? I have watched various youtube vids and it looks as simple as that yet I cant get it to work!