You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set alerting rules for our datacenter coreswitches with this exporter.
i was planning to use junos_bgp_session_up but this is 1 if up and 0 if everything else. This unfortunately does also show as "failed" when the session is in admin down.
The proposal is to create a new metric called junos_bgp_session_state which then return values for the possible states (idle, active, established, shutdown).
Another option is to create an entry like exists for interfaces: junos_bgp_session_error_status which then returns 1 if operational and admin state differ.
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to set alerting rules for our datacenter coreswitches with this exporter.
i was planning to use
junos_bgp_session_up
but this is 1 if up and 0 if everything else. This unfortunately does also show as "failed" when the session is in admin down.The proposal is to create a new metric called
junos_bgp_session_state
which then return values for the possible states (idle, active, established, shutdown).Another option is to create an entry like exists for interfaces:
junos_bgp_session_error_status
which then returns 1 if operational and admin state differ.The text was updated successfully, but these errors were encountered: