mirror of
https://github.com/stefanprodan/dockprom.git
synced 2025-05-05 15:32:50 +00:00
reload alert rules
This commit is contained in:
parent
d09a2327af
commit
44c678fe2b
@ -95,6 +95,12 @@ I've setup three alerts configuration files:
|
|||||||
* Docker Host alerts [hosts.rules](https://github.com/stefanprodan/dockprom/blob/master/prometheus/hosts.rules)
|
* Docker Host alerts [hosts.rules](https://github.com/stefanprodan/dockprom/blob/master/prometheus/hosts.rules)
|
||||||
* Docker Containers alerts [containers.rules](https://github.com/stefanprodan/dockprom/blob/master/prometheus/containers.rules)
|
* Docker Containers alerts [containers.rules](https://github.com/stefanprodan/dockprom/blob/master/prometheus/containers.rules)
|
||||||
|
|
||||||
|
You can modify the alert rules and reload them by making a HTTP POST call to Prometheus:
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -X POST http://<host-ip>:9090/-/reload
|
||||||
|
```
|
||||||
|
|
||||||
***Monitoring services alerts***
|
***Monitoring services alerts***
|
||||||
|
|
||||||
Trigger an alert if the monitoring targets (node-exporter and cAdvisor) are down for more then 30 seconds:
|
Trigger an alert if the monitoring targets (node-exporter and cAdvisor) are down for more then 30 seconds:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user