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

controllare la raggiungibilità dei server aggiungendo il blackbox exporter a prometheus #70

Open
feroda opened this issue Apr 12, 2020 · 4 comments

Comments

@feroda
Copy link
Contributor

feroda commented Apr 12, 2020

[edited dopo il cambio del titolo]
Avevo proposto di settare un flag working in base al fatto che l'host sia raggiungibile o meno.

Se il flag è a false allora non appare nella lista.

@tapionx
Copy link
Contributor

tapionx commented Apr 22, 2020

Ho modificato il titolo della issue, se il server è offline credo possa direttamente sparire da hosts.json senza segnare flag

@tapionx tapionx changed the title Prometheus segna flag working: false su hosts.json controllare la raggiungibilità dei server aggiungendo il blackbox exporter a prometheus Apr 22, 2020
@feroda
Copy link
Contributor Author

feroda commented Apr 24, 2020

Interessante, però poi verrebbe anche tolto il soggetto dai crediti e non mi sembra carino. Se l'offline è temporaneo.

Non vorrei complicare troppo, ma forse si potrebbe mettere un last_working al timestamp di ultimo ping e scrivere nei requisiti che se sta offline viene rimosso dalla lista, se sta offline per 24h allora vengono rimossi anche i crediti.

...troppo poco agile?

@tapionx
Copy link
Contributor

tapionx commented Apr 24, 2020

Si

@tapionx
Copy link
Contributor

tapionx commented Apr 24, 2020

Non so bene come utilizzare la stessa lista di target sia per il blackbox exporter che per i target prometheus 🤔🤔

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