Dearl all,
I'm french, excuse me for my english.
I found an error while running check_snmp_hsrp.pl
My command is: perl -w check_snmp_hsrp.pl -H X.X.X.X -C public -s master -2
The result is: Vrid : 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/120), 1(master/up/110), 1(master/up/110), 2(master/up/110), 1(backup/up/100) : not all master : NOK
I use this plugin to supervise the hsrp for my switches Cisco 3560.
You have an idea?
Can you help me please
Halysan
[Résolu] check_snmp_hsrp.pl
[Résolu] check_snmp_hsrp.pl
Last edited by Halysan on Mon Jan 26, 2015 5:11 am, edited 1 time in total.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_snmp_hsrp.pl
What is the error that you speak of? Without more context it is difficult to give you a clear answer.
Re: check_snmp_hsrp.pl
How to supervise the protocol hsrp my two switches cisco 3560 ?
With check_snmp?
Command:
./check_snmp -H X.X.X.X -C public -o .1.3.6.1.4.1.9.9.106.1.2.1.1.11.16.1
Result: SNMP OK - = IpAddress: X.X.X.X
Problem: I have twenty address for HSRP.. The result it's for one adress HSRP...
And witch is the master/backup?
With check_snmp_hsrp?
Command on nagios for Master:
./check_snmp_hsrp.pl -H X.X.X.X -C public -s master -g -2
Result: Vrid : 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/120), 1(master/up/110), 1(master/up/110), 2(master/up/110), 1(backup/up/100) : not all master : NOK
Problem: Not all master ...
Command on nagios for backup:
./check_snmp_hsrp.pl -H X.X.X.X -C public -s backup -g -2
Result: Vrid : 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 2(backup/up/100), 1(master/up/100) : not all backup : NOK
Problem: Not all backup...
With other plugin?
Do you have an idea?
With check_snmp?
Command:
./check_snmp -H X.X.X.X -C public -o .1.3.6.1.4.1.9.9.106.1.2.1.1.11.16.1
Result: SNMP OK - = IpAddress: X.X.X.X
Problem: I have twenty address for HSRP.. The result it's for one adress HSRP...
And witch is the master/backup?
With check_snmp_hsrp?
Command on nagios for Master:
./check_snmp_hsrp.pl -H X.X.X.X -C public -s master -g -2
Result: Vrid : 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/110), 1(master/up/120), 1(master/up/110), 1(master/up/110), 2(master/up/110), 1(backup/up/100) : not all master : NOK
Problem: Not all master ...
Command on nagios for backup:
./check_snmp_hsrp.pl -H X.X.X.X -C public -s backup -g -2
Result: Vrid : 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 1(backup/up/100), 2(backup/up/100), 1(master/up/100) : not all backup : NOK
Problem: Not all backup...
With other plugin?
Do you have an idea?
Last edited by slansing on Thu Jan 22, 2015 3:04 pm, edited 1 time in total.
Reason: Removed your previous post, please do not double post, it will not expedite the resolution.
Reason: Removed your previous post, please do not double post, it will not expedite the resolution.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_snmp_hsrp.pl
No I have absolutely no idea what that means, your best bet would be to contact the creator of the plugin and ask them. Their information should either be in the plugin, or on the page they posted it.
Re: check_snmp_hsrp.pl
I sent an email to the creator of the plugin..
But no reply, I await a reply.
On their page they put everything works ...
And the script does not contain comment..
If I find a solution I reply in my poste.
If an idea comes to mind, it will be welcome
Good day,
Thank you
Cordially,
Oxsan
But no reply, I await a reply.
On their page they put everything works ...
And the script does not contain comment..
If I find a solution I reply in my poste.
If an idea comes to mind, it will be welcome
Good day,
Thank you
Cordially,
Oxsan
Re: check_snmp_hsrp.pl
Let us know if we can help with anything you get from the creator. When you post back it helps to include the commands you run in a code block so we can replicate it.
/Luke
Re: check_snmp_hsrp.pl
The reply of Creator:
The error is merely saying that not all your HSRP instances are in “master” status. As you can see from the output the very last one appears to be in “backup”state.
My nagios web interface shows the critical state for this service.
How to define this service OK?
Cordially,
The error is merely saying that not all your HSRP instances are in “master” status. As you can see from the output the very last one appears to be in “backup”state.
My nagios web interface shows the critical state for this service.
How to define this service OK?
Cordially,
Re: check_snmp_hsrp.pl
I change the program that my service is OK
Thanks
Cordially
Thanks
Cordially
Re: [Résolu] check_snmp_hsrp.pl
Yes, this topic as resolved.
Thank you for your help.
Cordially
Thank you for your help.
Cordially