Page 1 of 1

CRITICAL - Plugin timed out while executing system call

Posted: Thu Feb 16, 2017 6:33 am
by manishdixit
Hi,

I am using NagiosĀ® Coreā„¢ Version 4.2.1 on cent OS 6.5. I am monitoring router/server ping and uptime.
When i see the dashbaord in host/services ping is working fine but uptime is not working giving error " CRITICAL - Plugin timed out while executing system call "
I have checked net-snmp rpm on cent os and it is installed. Please support how to do that (please find the attached error snapshot)

but when i am trying to do snmpget -v1 -cpublic 172.16.0.216 iso.3.6.1.2.1.1.3.0

I am getting
Timeout: No Response from 172.16.0.216.

Re: CRITICAL - Plugin timed out while executing system call

Posted: Thu Feb 16, 2017 10:33 am
by rkennedy
Are the other services using SNMP as well? Does this MIB exist on the client machine?

What happens if you increase the timeout with -t on your snmpget to 120? Please show us the full input / output.

Code: Select all

General communication options
  -r RETRIES            set the number of retries
  -t TIMEOUT            set the request timeout (in seconds)


Re: CRITICAL - Plugin timed out while executing system call

Posted: Fri Feb 17, 2017 3:41 am
by manishdixit
Hi,

When i am trying to take system uptime from local

snmpget -v2c -c public localhost sysUpTime.0

its giving correct answer

I am using cisco SG 500/300 switches. How can i ensure that this MIB exist on the switch.

cisco switch OID is 1.3.6.1.4.1.9.6.1.81.28.1

Re: CRITICAL - Plugin timed out while executing system call

Posted: Fri Feb 17, 2017 6:29 am
by manishdixit
Oops, there was wrong setting on Cisco switch for SNMP.
After correcting this it is working fine...thnks for the help

Re: CRITICAL - Plugin timed out while executing system call

Posted: Fri Feb 17, 2017 9:52 am
by dwhitfield
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!