Page 1 of 4
CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CALL
Posted: Fri Dec 11, 2015 10:05 am
by SJ04
Hello Guys,
I am running into a problem with Checking the
Uptime from the switch.
while i am running the
Check_snmp Plugin from nagios i get
plugin timed out Error.
i have tried both command to resolve the Problem but still it doesnt change the status.
CODE:
Code: Select all
./check_snmp -H 10.30.4.23 -C media -o sysUpTime.o
./check_snmp -H 10.30.4.23 -C media -t 180 -o sysUpTime.o
any Help Please thanks.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 10:39 am
by hsmith
Can you post what it actually says on the command line when you run the commands? That would help us determine what is failing.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 10:42 am
by SJ04
hsmith wrote:Can you post what it actually says on the command line when you run the commands? That would help us determine what is failing.
Hi hsmith
this is the Output:
CRITICAL - Plugin timed out while executing system call
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 10:52 am
by hsmith
Can you snmpwalk the device?
Code: Select all
snmpwalk <IP> -c <COUMMUNITY> -<VERSION(v2c)> | grep sysUpTime.o
Mine for example:
Code: Select all
snmpwalk 172.16.0.200 -c holden -v2c | grep sysUpTime
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (24376103) 2 days, 19:42:41.03
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 10:57 am
by SJ04
hsmith wrote:Can you snmpwalk the device?
Code: Select all
snmpwalk <IP> -c <COUMMUNITY> -<VERSION(v2c)> | grep sysUpTime.o
Mine for example:
Code: Select all
snmpwalk 172.16.0.200 -c holden -v2c | grep sysUpTime
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (24376103) 2 days, 19:42:41.03
Code: Select all
snmpwalk 10.30.4.23 -c media -<VERSION(v2c)> | grep sysUpTime.o
i run this command but get some syntax error and i think i am doing someting wrong with Version argument .
which version i need here?
thanks
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 10:58 am
by hsmith
Try -v2c, I just made it that way in case you were using a different version. See my example I edited in my post above.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 11:04 am
by SJ04
it just stucked and no result. i wait for the Result.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 11:07 am
by hsmith
Not being able to SNMPWalk the device means the check is going to fail. Can you try it without the grep command?
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 11:14 am
by SJ04
Without Grep Command it give the longest list of SNMP Entires.
Please check the Attachment., i cut some running LInes from output.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 11, 2015 11:17 am
by hsmith
That verifies that they can talk. Do you know the OID of sysUpTime.o? That could be another way to check.