New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add HSRP state sensors for Cisco IOS on L3 switches #15809
Conversation
Please add test data so we can ensure your change is not broken in the future. |
@electrocret Tests done! |
Hi @rudybroersma That being said, I think it would make sense to go a little bit further and create a dedicated module for HSRP/VRRP/etc that would complement the port page and replace these sensors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Alright, just so I get this right.. You mean a new page in the tabs like Overview, Graph, Ports, VLANs, Neighbors, STP and alike? I'll work on that, but might take me a while. Limited free time and all. If in the meantime this PR can be approved that would be great, I'll remove this sensor when my new code is ready. |
2 angles:
Yep, sounds good. |
This pull request has been mentioned on LibreNMS Community. There might be relevant details there: |
This patch contains an addition to the IOS discovery YAML to add HSRP state sensor support.
eg:
sample 1:
sample 2:
This allows LibreNMS to detect HSRP changes in the network
My Cisco lab consists of Catalyst 3560 switches.
Special thanks to Christiaan de Jonge :)
Please note
Testers
If you would like to test this pull request then please run:
./scripts/github-apply <pr_id>
, i.e./scripts/github-apply 5926
After you are done testing, you can remove the changes with
./scripts/github-remove
. If there are schema changes, you can ask on discord how to revert.