Age | Commit message (Collapse) | Author | Files | Lines |
|
No functional change for the user... The migration is done
automatically.
|
|
The load is defined as something different...
https://en.wikipedia.org/wiki/Load_(computing)
So let's update the wording and use 'utilization' instead.
---- ✂️ ----
🧮️📈️ Health warning: CPU utilization
The average CPU utilization on MikroTik is at 76%!
---- ✂️ ----
🧮️📉️ Health recovery: CPU utilization
The average CPU utilization on MikroTik decreased to 64%.
---- ✂️ ----
|
|
... but after checking CPU load and free RAM.
|
|
---- ✂️ ----
🗃️📉️ Health warning: free RAM
The available free RAM on MikroTik is at 18% (47MiB)!
---- ✂️ ----
🗃️📈️ Health recovery: free RAM
The available free RAM on MikroTik increased to 65% (168MiB).
---- ✂️ ----
|
|
---- ✂️ ----
🧮️📈️ 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%.
---- ✂️ ----
|
|
|
|
Having the parenthesis here is important for valid syntax!
|
|
|
|
The PSU state has an empty string for type... Thus matching on name.
|
|
|
|
... to detect slow decrease of voltage, for example with UPS.
|
|
|
|
|
|
|
|
|
|
|
|
All scripts wait for the global functions on their own now.
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
The mathematical way is more elegant, but just picking the char from
string is shorter. 😜
|
|
Before this produced division by zero...
|
|
|
|
|
|
This helps against notification flooding.
|
|
|
|
This matches the string included in export.
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
With RouterOS we have integral numbers only. This prevent from having
friction that is cut off.
|
|
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!
|
|
|
|
Seen on wAP R... No idea what this is.
|
|
|
|
This is required with recovery notifications
|
|
|
|
This may be incomplete... Please report if you have missing PSUs,
ttemperature sensors, whatever.
|