Christian Hesse
7bf36fa8a5
check-health: drop main function, use :do with on-error
2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa
global-functions: $ScriptLock: do not exit from global function
2024-03-12 15:27:15 +01:00
Christian Hesse
6712cc101d
check-health: do not exit with error
2024-03-12 15:27:15 +01:00
Christian Hesse
80180b432d
check-health: move code into function
2024-03-04 17:04:45 +01:00
Christian Hesse
5319577035
check-health: use :jobname to get script name
2024-01-30 00:52:21 +01:00
Christian Hesse
9a73fc526f
update copyright for 2024
2024-01-01 15:25:25 +01:00
Christian Hesse
c7e2ff71e6
check-health: decrease indention in messages
2023-11-15 15:07:07 +01:00
Christian Hesse
23c5c461a6
check-health: use $HumanReadableNum for RAM utilization
2023-11-15 15:03:16 +01:00
Christian Hesse
ff35f0c87f
check-health: reverse logic for RAM (free -> utilization)...
...
... to bring it in sync with CPU utilization.
Also make the output more verbose, at least for the warning.
---- ✂️ ----
🗃️ 📈 ️ Health warning: RAM utilization
The RAM utilization on MikroTik is at 81%!
total: 64 MiB
used: 52 MiB
free: 11 MiB
---- ✂️ ----
🗃️ 📉 ️ Health recovery: RAM utilization
The RAM utilization on MikroTik decreased to 65%.
---- ✂️ ----
2023-10-24 17:03:12 +02:00
Christian Hesse
b1cb4cb10f
check-health: use $FormatLine
2023-04-24 22:26:26 +02:00
Christian Hesse
a832fd04ef
rename scripts and add file extension ".rsc"
...
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00