-
Notifications
You must be signed in to change notification settings - Fork 55
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
Broken Connection Event/Alert #419
Comments
Can you elaborate a bit on what kind of event/alert you want to raise ? from gNMIc to where? With which protocol ? ... |
Thanks Karim for responding. Here is my use case
So my query is where my solution at point 4, is it the best i can do with Gnmic or is there a more streamlined approach offered(Through some trigger/event in gnmic itself)? Thanks agin |
To solve a similar issue we use a single subscription (device version) as a "heartbeat" which is run every minute. If our application detects that it has not received a message on that topic for >3min (3 intervals) we consider it to have gone offline and we increment a prometheus counter in our application. We then clear this prometheus counter if we see the device begin sending messages again. |
Hi,
My issue is the capability to to raise an alert when a target goes down.
If i turn off a target router, i see an error logged in the log file and gnmic trying to reestablish connection. Is there a way an event/trigger of the same can be generated? Or should i just write my own script to scrap the log file for this event and raise an alert from the script?
Thank you
The text was updated successfully, but these errors were encountered: