Skip to content
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 Ability to Track Outages #226

Open
jdrew82 opened this issue Nov 10, 2022 · 5 comments
Open

Add Ability to Track Outages #226

jdrew82 opened this issue Nov 10, 2022 · 5 comments

Comments

@jdrew82
Copy link

jdrew82 commented Nov 10, 2022

Environment

  • Nautobot version: 1.4.7
  • nautobot-circuit-maintenance version: 0.6.1

Proposed Functionality

It'd be helpful if we could have a historical record of outages for individual circuits. We could even include a trend for outages in a given time period. This would be helpful for SLA purposes.

Use Case

In order to know if an SLA is being met it's helpful to know outages that occurred in a time period. This is also helpful for troubleshooting purposes for historical purposes.

@chadell
Copy link
Contributor

chadell commented Nov 11, 2022

could you define "outage"? I mean, what do you understand by an outage?

@jdrew82
Copy link
Author

jdrew82 commented Nov 11, 2022

I believe the thinking was that any circuit maintenance notification that's received could count as an outage. Basically, an outage is anytime a circuit goes down. If we wanted to narrow it down we could potentially add some logic to check the notification for a reason and if it says something like "line cut" or the like, count that as an outage. Definitely could use some fleshing out of what this would entail.

@chadell
Copy link
Contributor

chadell commented Nov 14, 2022

gotten

You have in the database the full history of Circuit Maintenance, connected to each Circuit via a CircuitImpact. So, the information is available. It is also exposed via Prometheus metrics, so you could track it in a TSDB.

I think that the trend would be something we could connect via the TSDB, but we could add a Job that creates a report of this information, grouped by Circuit, Circuit Type, Provider, Site, etc.

How does it sound?

@jdrew82
Copy link
Author

jdrew82 commented Nov 14, 2022

It could work if it's in the style that Golden Config and Device Lifecycle have.

@scetron
Copy link
Contributor

scetron commented Feb 7, 2023

That should be doable as both should show as simply counts fed to a graph.

itdependsnetworks pushed a commit to itdependsnetworks/nautobot-app-circuit-maintenance that referenced this issue Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants