aboutsummaryrefslogtreecommitdiffstats
path: root/check-health
AgeCommit message (Expand)AuthorFilesLines
2020-11-19check-health: guard against temperature spikes•••Looks like devices out there suffer sensor issue or bug where temperature value spikes and drops immediately: https://forum.mikrotik.com/viewtopic.php?t=111030 https://forum.mikrotik.com/viewtopic.php?t=111109 https://forum.mikrotik.com/viewtopic.php?t=151242 ... and possibly more. Let's ignore these spikes, but at the same time increase the current value to bring it into line - in case it's real. Gravatar Christian Hesse1-0/+6
2020-11-19check-health: handle formatting by picking from string•••The mathematical way is more elegant, but just picking the char from string is shorter. 😜 Gravatar Christian Hesse1-4/+1
2020-11-19check-health: properly handle voltage value below one•••Before this produced division by zero... Gravatar Christian Hesse1-0/+3
2020-11-13check-health: decrease log severity to infoGravatar Christian Hesse1-1/+1
2020-10-17check-health: do not hardcode names, use as availableGravatar Christian Hesse1-37/+40
2020-10-16check-health: add deviation on temperature recovery threshold•••This helps against notification flooding. change-33Gravatar Christian Hesse1-6/+13
2020-10-16check-health: give error on messing health valuesGravatar Christian Hesse1-0/+4
2020-09-18extend magic pattern with "by RouterOS"•••This matches the string included in export. Gravatar Christian Hesse1-1/+1
2020-07-17global-functions: introduce and use $SymbolForNotificationchange-24Gravatar Christian Hesse1-6/+6
2020-07-17check-health: use $SymbolByUnicodeNameGravatar Christian Hesse1-5/+6
2020-07-16check-health: move symbol before textGravatar Christian Hesse1-5/+5
2020-07-15check-health: add symbol for voltageGravatar Christian Hesse1-1/+1
2020-07-15check-health: new symbol for high temperatureGravatar Christian Hesse1-1/+1
2020-06-19explicitly name the license•••Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. https://www.gnu.org/licenses/#GPL https://www.gnu.org/licenses/gpl.html https://www.gnu.org/licenses/gpl.md Gravatar Christian Hesse1-0/+1
2020-04-03check-health: use $LogPrintExitGravatar Christian Hesse1-1/+2
2020-03-27add doc/check-health.mdGravatar Christian Hesse1-0/+1
2020-03-24check-health: add fancy unicode symbolsGravatar Christian Hesse1-4/+4
2020-03-09check-health: add encoded degree signGravatar Christian Hesse1-2/+2
2020-01-24check-health: never divide, always multiply•••With RouterOS we have integral numbers only. This prevent from having friction that is cut off. Gravatar Christian Hesse1-2/+2
2020-01-24check-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! Gravatar Christian Hesse1-1/+1
2020-01-01update copyright for 2020Gravatar Christian Hesse1-1/+1
2019-10-18check-health: work with battery property•••Seen on wAP R... No idea what this is. Gravatar Christian Hesse1-1/+1
2019-10-14check-health: make threshold for voltage configurablechange-10Gravatar Christian Hesse1-3/+4
2019-08-28check-health: check for valid psu state data•••This is required with recovery notifications Gravatar Christian Hesse1-9/+12
2019-08-27check-health: also send recovery notificationsGravatar Christian Hesse1-0/+11
2019-08-27add script 'check-health'•••This may be incomplete... Please report if you have missing PSUs, ttemperature sensors, whatever. change-7Gravatar Christian Hesse1-0/+57