A apache php application to send alarm events from prometheus to argos. The application listining inside the cluster.
| Env | Description |
|---|---|
| ARGOS_URL | the endpoint argos url |
| ARGOS_API_KEY | the api-key for accepting request at argos |
| ARGOS_COMPONENT | The kubernetes-cluster name, that is compare to the containername in argos |
| ARGOS_CLUSTER | The kubernetes-cluster name, that is compare to the originname in argos |
| ARGOS_ACTIVE_WARNING | To convert warning tickets into minor tickets for argos |
| ARGOS_CLUSTER_NAME | To put the clustename into to the output text in argos |
rules:
- alert: AlertmanagerConfigInconsistent
expr: count_values("config_hash", alertmanager_config_hash) BY (service) / ON(service) GROUP_LEFT() label_replace(prometheus_operator_alertmanager_spec_replicas, "service", "alertmanager-$1", "alertmanager", "(.*)") != 1
for: 5m
labels:
severity: critical
annotations:
summary: 'Alertmanager configurations are inconsistent'
description: 'The configuration of the instances of the Alertmanager cluster `{{$labels.service}}` are out of sync.'
Content type
Image
Digest
Size
97.2 MB
Last updated
about 7 years ago
docker pull arvatoaws/argosinterface