aboutsummaryrefslogtreecommitdiffstats
path: root/check-health.rsc
AgeCommit message (Collapse)AuthorFilesLines
14 dayscheck-health: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+6
2024-07-16bump RouterOS requirement for all scripts and modules...Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.14 anyway.
2024-04-07global-functions: $HumanReadableNum: indicate binary base...Gravatar Christian Hesse1-3/+3
... and update scripts to match the change.
2024-04-07bump RouterOS requirement for all scripts and modules...routeros-7.13-6Gravatar Christian Hesse1-1/+1
... now that global-functions requires RouterOS 7.13 anyway.
2024-03-12check-health: switch to $LogPrintGravatar Christian Hesse1-3/+3
2024-03-12check-health: drop main function, use :do with on-errorGravatar Christian Hesse1-7/+5
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-12check-health: do not exit with errorGravatar Christian Hesse1-1/+2
2024-03-04check-health: move code into functionGravatar Christian Hesse1-139/+144
2024-01-30check-health: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-11-15check-health: decrease indention in messagesGravatar Christian Hesse1-5/+5
2023-11-15check-health: use $HumanReadableNum for RAM utilizationGravatar Christian Hesse1-3/+4
2023-10-24check-health: reverse logic for RAM (free -> utilization)...Gravatar Christian Hesse1-12/+13
... 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-04-24check-health: use $FormatLineGravatar Christian Hesse1-2/+3
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+167
No functional change for the user... The migration is done automatically.