Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-01-20 | check-health: monitor CPU load | Christian Hesse | 1 | -0/+16 | |
---- ✂️ ---- 🧮️📈️ Health warning: CPU load The average CPU load on MikroTik is at 76%! ---- ✂️ ---- 🧮️📉️ Health recovery: CPU load The average CPU load on MikroTik decreased to 64%. ---- ✂️ ---- | |||||
2023-01-02 | update copyright for 2023 | Christian Hesse | 1 | -1/+1 | |
2022-07-13 | check-health: update initialization of empty array | Christian Hesse | 1 | -2/+2 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-05-11 | check-health: RouterOS v7 path syntax | Christian Hesse | 1 | -12/+12 | |
2022-01-14 | check-health: adopt new data structure for ROS 7.xrouteros-7.x-3 | Christian Hesse | 1 | -39/+49 | |
The PSU state has an empty string for type... Thus matching on name. | |||||
2022-01-01 | update copyright for 2022 | Christian Hesse | 1 | -1/+1 | |
2021-11-16 | check-health: support hard lower limit for voltagechange-69 | Christian Hesse | 1 | -0/+12 | |
... to detect slow decrease of voltage, for example with UPS. | |||||
2021-11-16 | check-health: indicate voltage increase or decrease | Christian Hesse | 1 | -1/+3 | |
2021-08-27 | check-health: use $ScriptLock | Christian Hesse | 1 | -0/+3 | |
2021-04-28 | check-health: pass origin to $SendNotification2 | Christian Hesse | 1 | -5/+10 | |
2021-04-28 | check-health: use $SendNotification2 | Christian Hesse | 1 | -14/+14 | |
2021-02-24 | global: give script or function name in log messages | Christian Hesse | 1 | -3/+4 | |
2021-02-18 | global: drop script 'global-wait'change-44 | Christian Hesse | 1 | -0/+3 | |
All scripts wait for the global functions on their own now. | |||||
2021-01-01 | update copyright for 2021 | Christian Hesse | 1 | -1/+1 | |
2020-11-24 | check-health: re-measure until we have a valid value | Christian Hesse | 1 | -4/+4 | |
2020-11-24 | check-health: use second measure against temperature spikes | Christian Hesse | 1 | -4/+3 | |
The old spike detection was still prone to false alerts. Let's do a second measurement and ignore on difference. This results in more measurements being ignored, but temperature is changing slowly only and it should not hurt. | |||||
2020-11-20 | check-health: do not write unicode to log | Christian Hesse | 1 | -1/+1 | |
2020-11-19 | check-health: guard against temperature spikes | Christian Hesse | 1 | -0/+6 | |
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. | |||||
2020-11-19 | check-health: handle formatting by picking from string | Christian Hesse | 1 | -4/+1 | |
The mathematical way is more elegant, but just picking the char from string is shorter. 😜 | |||||
2020-11-19 | check-health: properly handle voltage value below one | Christian Hesse | 1 | -0/+3 | |
Before this produced division by zero... | |||||
2020-11-13 | check-health: decrease log severity to info | Christian Hesse | 1 | -1/+1 | |
2020-10-17 | check-health: do not hardcode names, use as available | Christian Hesse | 1 | -37/+40 | |
2020-10-16 | check-health: add deviation on temperature recovery thresholdchange-33 | Christian Hesse | 1 | -6/+13 | |
This helps against notification flooding. | |||||
2020-10-16 | check-health: give error on messing health values | Christian Hesse | 1 | -0/+4 | |
2020-09-18 | extend magic pattern with "by RouterOS" | Christian Hesse | 1 | -1/+1 | |
This matches the string included in export. | |||||
2020-07-17 | global-functions: introduce and use $SymbolForNotificationchange-24 | Christian Hesse | 1 | -6/+6 | |
2020-07-17 | check-health: use $SymbolByUnicodeName | Christian Hesse | 1 | -5/+6 | |
2020-07-16 | check-health: move symbol before text | Christian Hesse | 1 | -5/+5 | |
2020-07-15 | check-health: add symbol for voltage | Christian Hesse | 1 | -1/+1 | |
2020-07-15 | check-health: new symbol for high temperature | Christian Hesse | 1 | -1/+1 | |
2020-06-19 | explicitly name the license | Christian Hesse | 1 | -0/+1 | |
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 | |||||
2020-04-03 | check-health: use $LogPrintExit | Christian Hesse | 1 | -1/+2 | |
2020-03-27 | add doc/check-health.md | Christian Hesse | 1 | -0/+1 | |
2020-03-24 | check-health: add fancy unicode symbols | Christian Hesse | 1 | -4/+4 | |
2020-03-09 | check-health: add encoded degree sign | Christian Hesse | 1 | -2/+2 | |
2020-01-24 | check-health: never divide, always multiply | Christian Hesse | 1 | -2/+2 | |
With RouterOS we have integral numbers only. This prevent from having friction that is cut off. | |||||
2020-01-24 | check-health: always calculate on the lower voltage value | Christian Hesse | 1 | -1/+1 | |
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-01 | update copyright for 2020 | Christian Hesse | 1 | -1/+1 | |
2019-10-18 | check-health: work with battery property | Christian Hesse | 1 | -1/+1 | |
Seen on wAP R... No idea what this is. | |||||
2019-10-14 | check-health: make threshold for voltage configurablechange-10 | Christian Hesse | 1 | -3/+4 | |
2019-08-28 | check-health: check for valid psu state data | Christian Hesse | 1 | -9/+12 | |
This is required with recovery notifications | |||||
2019-08-27 | check-health: also send recovery notifications | Christian Hesse | 1 | -0/+11 | |
2019-08-27 | add script 'check-health'change-7 | Christian Hesse | 1 | -0/+57 | |
This may be incomplete... Please report if you have missing PSUs, ttemperature sensors, whatever. |