触发告警
可照之前方式触发告警通知:
vim prometheus-server-rules.yml
expr: (1 - (node_memory_MemAvailable_bytes / (node_memory_MemTotal_bytes)))* 100 > 50
kubectl replace -f prometheus-server-rules.yml curl -X POST http://172.16.220.143:3009{0,3}/-/reload
等待其触发告警:
收到的告警邮件:
报警值改回,恢复邮件:
It is a pity, that now I can not express – it is very occupied. I will return – I will necessarily express the opinion on this question.