openwisp / openwisp-monitoring

Network monitoring system written in Python and Django, designed to be extensible, programmable, scalable and easy to use by end users: once the system is configured, monitoring checks, alerts and metric collection happens automatically.
https://openwisp.io/docs/dev/monitoring/
Other
163 stars 110 forks source link

[change] Disabling ping check should probably set the health status to "unkown" #576

Closed nemesifier closed 3 months ago

nemesifier commented 4 months ago

Disabling a check for any metric which is listed in OPENWISP_MONITORING_CRITICAL_DEVICE_METRICS (by defaults lists only ping), should put the device in unkown status.

If we don't do this, the device will show its status as "ok", even though ping checks are not performed anymore, and hence the system cannot be sure the device is really reachable. This will be confusing.

We shall add a data migration which can fix this retroactively for checks which have been already disabled.

Here's more details about how this should be implemented: