System Alerts
Disk Full Alert
Use the following commands to configure alerts related to disk full alert.
alerts rules group
rule node-disk-running-full
expression node_filesystem_usage > 0.0001
duration 5m
severity critical
type Processing Error Alarm
annotation disk_full
value test
exit
exit
VM Down Alert
Use the following commands to configure alerts related to virtual machine down alert.
alerts rules group vm-state-change
rule vm-down
expression up{pod=~\"node-expo.*\"} == 0
duration 1m
severity major
type Equipment Alarm
annotation summary
value VM Down
exit
exit
High Memory Usage
Use the following commands to configure alerts related to high memory usage.
alerts rules group memory-util-high
rule mem-util-high
expression avg(node_memory_MemAvailable_bytes /node_memory_MemTotal_bytes * 100) by (hostname) < 20
duration 1m
severity critical
type Processing Error Alarm
annotation mem_util_high
value Hig Memory Usage
exit
exit
High Disk Usage
Use the following commands to configure alerts related to high disk usage alert.
alerts rules group disk-util-high
duration 1m
rule disk-util-high
expression avg (node_filesystem_avail_bytes{mountpoint =\"/\"} /node_filesystem_size_bytes{mountpoint =\"/\"} *100) by (hostname) <20
severity critical
type Processing Error Alarm
annotation description
value Hig Memory Usage
exit
exit
High CPU Usage
Use the following commands to configure alerts related to high CPU usage alert.
alerts rules group cpu-util-high
rule cpu-util-idle
duration 1m
expression avg(rate(node_cpu_seconds_total{mode='idle'}[1m])) by (hostname) *100 < 50
severity critical
type Processing Error Alarm
annotation description
value Hig CPU
exit
exit