Hi, the device health status 
<https://github.com/openwisp/openwisp-monitoring/#device-health-status> 
should give you a fairly good idea if a device is offline or online. If 
health status is *OK* or *PROBLEM*, the device is online. *CRITICAL* status 
will indicate that either your device is unreachable or any critical device 
metric 
<https://github.com/openwisp/openwisp-monitoring/#openwisp-monitoring-critical-device-metrics>
 
is unhealthy (if you are not defining any additional metric by using the 
linked setting, you can safely assume that critical status means device is 
unreachable right now).

Regarding customizing notifications, we have recently introduced global 
configuration so you can customize many keys (default values for Alert 
Settings, Metric configuration, Chart Configuration, Notifications) at one 
single place. Right now it is not available on the master branch. You can 
use this setting 
<https://github.com/openwisp/openwisp-monitoring/tree/dev#openwisp_monitoring_metrics>
 
(on the *dev* branch) to override the default notifications for any metric.

Regards,
Hardik Jain

On Thursday, August 20, 2020 at 5:51:22 PM UTC+5:30 [email protected] wrote:

> How can i know if a device is online or offline? also ... how can i 
> configure notifications when device status changed?
>
> I'm aware that all this is WIP, but I try to learn, test and help if I can.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/edf8f744-734e-4d2d-ba54-2ffb44136785n%40googlegroups.com.

Reply via email to