Identify which Cisco router is acting as primary


I have 2 Cisco routers setup with HSRP; virtual IP
Router 1:
Router 2:

I would like to get your opinions on the best way to identify via a Network Monitoring service (Zabbix, PRTG, etc) which one of the routers is acting as primary i.e. routing internet traffic

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NetExpert Network Solutions Pte LtdTechnical SpecialistCommented:
cisco hsrp can be monitored for only few router platforms, you can't monitor all routers

Supported Platforms
The HSRP MIB is supported on all Cisco platforms which support both HSRP and SNMP. Cisco IOS Release 12.0(12)S adds support for the HSRP MIB on the following platforms:
•Cisco 7200 series
•Cisco 7500/RSP series
•Cisco 12000 GSR series

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I guess you can monitor the ports on the switch where those routers are connected to, or configure 2 different netflow sessions from each interface and see the counters.
LunarBearAuthor Commented:
Understood. Thanks for the link anyways.

As a solution for now, I decided to monitor changes on the hostname of the virtual IP

SNMP OID returns the hostname.

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

NetExpert Network Solutions Pte LtdTechnical SpecialistCommented:
As AlexBlinov told, you can monitor the router interfaces and based on the interfaces traffic statistics, you can identify the primary router.

But, if you would like to track/monitor the hsrp status, that's possible only to few platforms
Darrell PorterEnterprise Business Process ArchitectCommented:
So do your monitoring programs not work via SNMP and monitor HSRP State.

For more information on this, you can review the HSRP information located on the CIsco site.
LunarBearAuthor Commented:
Interesting. I took a look, but can't figure out what I need to monitor.
Presently, is the primary and is acting as
Any ideas?

Bold indicates differences.

Walk = "5" = "" = "150" = "1" = "30" = "2" = "0" = "0" = "3000" = "10000" = "" = "1" = "" = "" = "6" = "      " = "1"

Walk = "5" = "" = "50" = "1" = "30" = "2" = "0" = "0" = "3000" = "10000" = "" = "1" = "" = "" = "5" = "      " = "1"
NetExpert Network Solutions Pte LtdTechnical SpecialistCommented:
The 2 router acting as primary because it has higher priority value
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.