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
Ho modificato il titolo della issue, se il server è offline credo possa direttamente sparire da hosts.json senza segnare flag
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
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.
[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.
The text was updated successfully, but these errors were encountered: