CRITICAL - Plugin timed out while executing system call.
Posted: Sat Aug 24, 2019 12:45 pm
Hey Nagios Community,
I have installed Nagios Core on an Ubuntu VMWare machine for monitoring my network appliances. But I am constantly facing trouble running SNMP on Nagios Core. I have added a single Cisco switch under hosts, but I see this error ' CRITICAL - Plugin timed out while executing system call.' The screenshot for the same is attached herewith.
If I am running SNMP WALK or SNMP GET on the Ubuntu terminal, I am able to see proper results for the query. Below shown is the output after running the above-mentioned commands.
Below shown is the service definition in my Switch.cfg file.
Thanks.
I have installed Nagios Core on an Ubuntu VMWare machine for monitoring my network appliances. But I am constantly facing trouble running SNMP on Nagios Core. I have added a single Cisco switch under hosts, but I see this error ' CRITICAL - Plugin timed out while executing system call.' The screenshot for the same is attached herewith.
If I am running SNMP WALK or SNMP GET on the Ubuntu terminal, I am able to see proper results for the query. Below shown is the output after running the above-mentioned commands.
abdultayyeb@ubuntu:~$ snmpget -v2c -c abdultayyeb 10.0.0.1 iso.3.6.1.2.1.1.3.0
iso.3.6.1.2.1.1.3.0 = Timeticks: (86716) 0:14:27.16
In fact, I was able to see SNMP GET requests made by my Ubuntu server and the corresponding SNMP GET RESPONSE in Wireshark when the Nagios Core was running. But still, the service status for that host remained ' CRITICAL - Plugin timed out while executing system call '. Attached is the image of my Wireshark capture, while Nagios Core was running.abdultayyeb@ubuntu:~$ snmpwalk -v 2c -c abdultayyeb 10.0.0.1
iso.3.6.1.2.1.1.1.0 = STRING: "Cisco IOS Software, 7200 Software (C7200-ADVIPSERVICESK9-M), Version 15.2(4)S5, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Thu 20-Feb-14 06:51 by prod_rel_team"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.9.1.222
iso.3.6.1.2.1.1.3.0 = Timeticks: (99438) 0:16:34.38
Below shown is the service definition in my Switch.cfg file.
Any help would be highly appreciable.define service {
use generic-service
host_name Testing-SN
service_description Switch Uptime
check_command check_snmp!-P2c -C 'abdultayyeb' -o 'iso.3.6.1.2.1.1.3.0'
check_interval 1
retry_interval 1
}
Thanks.