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

Metrics for Prometheus are no longer returned when polling devices #177

Open
valerarar opened this issue Mar 17, 2022 · 2 comments
Open

Comments

@valerarar
Copy link
Contributor

Metrics for Prometheus are no longer returned when polling devices a junos_exporter
This happens even when polling 10 devices
As a result, the alerts will no longer fire:
image

Is it possible to store data statically in a file permanently and update as new values come in?

@lethalwp
Copy link
Contributor

I haven't checked this particular issue. But is it possible that your polling rate is too low? So prometheus "forgets" about the metric. If it is this problem, the solution is either to poll more frequently, or change a prometheus option, i think it is: --query.lookback-delta=15m which i've set at 15minutes for my usage case

@valerarar
Copy link
Contributor Author

No, the problem is that while the metrics are being collected, the current metrics become unavailable. And when the alert manager polls the value, it gets no data.

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

2 participants