Commit graph

12 commits

Author SHA1 Message Date
Christian Hesse
1f1fef9fb5 check-health: use $LogPrintExit 2020-04-03 17:29:08 +02:00
Christian Hesse
ff867d1b6b add doc/check-health.md 2020-03-27 22:12:49 +01:00
Christian Hesse
524cc29e99 check-health: add fancy unicode symbols 2020-03-24 12:38:03 +01:00
Christian Hesse
63ed093340 check-health: add encoded degree sign 2020-03-09 16:23:10 +01:00
Christian Hesse
c7034ca5af check-health: never divide, always multiply
With RouterOS we have integral numbers only. This prevent from having
friction that is cut off.
2020-01-24 08:17:42 +01:00
Christian Hesse
6e5e0e72bd check-health: always calculate on the lower voltage value
This makes sure an alert is triggered in both directions. Before we could have:

24.0V to 21.8V -> OK
21.8V to 24.0V -> Alert!
2020-01-24 08:16:54 +01:00
Christian Hesse
afb9839073 update copyright for 2020 2020-01-01 17:00:39 +01:00
Christian Hesse
39815662f7 check-health: work with battery property
Seen on wAP R... No idea what this is.
2019-10-18 12:25:27 +02:00
Christian Hesse
f40bb2c8c8 check-health: make threshold for voltage configurable 2019-10-14 19:13:31 +02:00
Christian Hesse
63ca79b960 check-health: check for valid psu state data
This is required with recovery notifications
2019-08-28 20:48:32 +02:00
Christian Hesse
b74d465cd0 check-health: also send recovery notifications 2019-08-27 15:20:11 +02:00
Christian Hesse
29dc1b8841 add script 'check-health'
This may be incomplete... Please report if you have missing PSUs,
ttemperature sensors, whatever.
2019-08-27 12:01:32 +02:00