mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-04 18:24:34 +02:00
check-health: monitor 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). ---- ✂️ ----
This commit is contained in:
parent
75bd14267e
commit
6780e1a24c
10 changed files with 36 additions and 8 deletions
|
@ -13,14 +13,16 @@ This script is run from scheduler periodically, sending notification on
|
|||
health related events:
|
||||
|
||||
* high CPU load
|
||||
* low available free RAM
|
||||
* voltage jumps up or down more than configured threshold or drops below limit
|
||||
* power supply failed or recovered
|
||||
* temperature is above or below threshold
|
||||
|
||||
Note that bad initial state will not trigger an event.
|
||||
|
||||
Monitoring CPU load works on all devices. Other than that only sensors
|
||||
available in hardware can be checked. See what your hardware supports:
|
||||
Monitoring CPU load and available free RAM works on all devices. Other
|
||||
than that only sensors available in hardware can be checked. See what your
|
||||
hardware supports:
|
||||
|
||||
/system/health/print;
|
||||
|
||||
|
@ -31,19 +33,24 @@ available in hardware can be checked. See what your hardware supports:
|
|||

|
||||

|
||||
|
||||
#### Available free RAM
|
||||
|
||||

|
||||

|
||||
|
||||
#### Voltage
|
||||
|
||||

|
||||

|
||||
|
||||
#### Temperature
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
#### PSU state
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
Requirements and installation
|
||||
-----------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue