Page 3 of 4
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Thu Dec 17, 2015 12:08 pm
by hsmith
Looking at the results, can you try this?
Code: Select all
snmpwalk 10.30.4.23 -c media -v2c | grep sysUpTimeInstance
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 18, 2015 4:45 am
by SJ04
hsmith wrote:Looking at the results, can you try this?
Code: Select all
snmpwalk 10.30.4.23 -c media -v2c | grep sysUpTimeInstance
Hi Hsmith,
this was the OutPut for it.
Code: Select all
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (268866336) 31 days, 2:51:03.36
and then the Console Stuck at one point.
Any Help ?
thanks
SJ
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 18, 2015 10:35 am
by hsmith
That's the uptime, correct?
What do you mean the console stuck?
It takes awhile to run the SNMPWalk, but the grep is only making it show results that have sysUpTimeInstance, so it doesn't look like it is doing anything.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 18, 2015 10:57 am
by SJ04
hsmith wrote:That's the uptime, correct?
What do you mean the console stuck?
It takes awhile to run the SNMPWalk, but the grep is only making it show results that have sysUpTimeInstance, so it doesn't look like it is doing anything.
So
snmpwalk command I got the switch uptime but with
./check _snmp it still didn't work.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 18, 2015 11:14 am
by hsmith
Can you show me the check_snmp command you're running and the output?
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 18, 2015 11:35 am
by SJ04
hsmith wrote:Can you show me the check_snmp command you're running and the output?
Code: Select all
./check_snmp -H 10.30.4.23 -c Media -o sysUpTimeInstance
./check_snmp -H 10.30.4.23 -c Media -o sysUpTimeInstance.0
And the output is plug in timed out as the heading of my thread
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Fri Dec 18, 2015 12:11 pm
by hsmith
Can you try -c media instead of -c Media? I don't know if it's case sensitive, but I wouldn't be surprised.
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Mon Dec 21, 2015 7:49 am
by SJ04
hsmith wrote:Can you try -c media instead of -c Media? I don't know if it's case sensitive, but I wouldn't be surprised.
Hi Hsmith,
I have used both Capital and Small Case but it didnt give me the Uptime of switch.
i am only having problem to get the Value of
Uptime,.
rest of the service like, free memory , cpu and ram usage i can get with OID's of all Hp switches.
please Help
SJ
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Mon Dec 21, 2015 10:30 am
by hsmith
Code: Select all
./check_snmp -H 10.30.4.23 -c media -P 2c -o sysUpTimeInstance
How about this one?
Re: CRITICAL -PLUGIN TIMED OUT WHILE EXECUTING THE SYSTEM CA
Posted: Mon Dec 21, 2015 10:47 am
by SJ04
hsmith wrote:Code: Select all
./check_snmp -H 10.30.4.23 -c media -P 2c -o sysUpTimeInstance
How about this one?
HI Hsmith,
My Problem is Finally Solved out. and i want to brief here , how it works.
STEPs:
- Extract the MIB on the Nagios Server in /usr/share/snmp/mib
- Define the Service like this.
# Monitor uptime via SNMP
Code: Select all
define service{
use generic-service
hostgroup_name HP-SWITCHES
service_description Uptime
check_command check_snmp!-C media -o sysUpTime.0 -m all
}
Thanks Hsmith and everyone who replied to this Thread, Truley speaking without your help, i will not be able to solve this out.
thanks