mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-03 09:44:58 +02:00
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%. ---- ✂️ ----
This commit is contained in:
parent
d4e5194a65
commit
ff35f0c87f
6 changed files with 20 additions and 19 deletions
Binary file not shown.
Before Width: | Height: | Size: 6.3 KiB |
BIN
doc/check-health.d/notification-03-ram-utilization-high.avif
Normal file
BIN
doc/check-health.d/notification-03-ram-utilization-high.avif
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.6 KiB |
BIN
doc/check-health.d/notification-04-ram-utilization-ok.avif
Normal file
BIN
doc/check-health.d/notification-04-ram-utilization-ok.avif
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
|
@ -13,7 +13,7 @@ This script is run from scheduler periodically, sending notification on
|
|||
health related events:
|
||||
|
||||
* high CPU utilization
|
||||
* low available free RAM
|
||||
* high RAM utilization (low available RAM)
|
||||
* voltage jumps up or down more than configured threshold
|
||||
* voltage drops below hard lower limit
|
||||
* power supply failed or recovered
|
||||
|
@ -21,9 +21,9 @@ health related events:
|
|||
|
||||
Note that bad initial state will not trigger an event.
|
||||
|
||||
Monitoring CPU utilization and available free RAM works on all devices.
|
||||
Other than that only sensors available in hardware can be checked. See what
|
||||
your hardware supports:
|
||||
Monitoring CPU and RAM utilization (available processing and memory
|
||||
resources) works on all devices. Other than that only sensors available
|
||||
in hardware can be checked. See what your hardware supports:
|
||||
|
||||
/system/health/print;
|
||||
|
||||
|
@ -34,10 +34,10 @@ your hardware supports:
|
|||

|
||||

|
||||
|
||||
#### Available free RAM
|
||||
#### RAM utilization (low available RAM)
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
#### Voltage
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue