Sign inSign up

arvatoaws/argosinterface

By arvatoaws

Updated about 7 years ago

argosinterface

Image
0

779

arvatoaws/argosinterface repository overview

Argosinterface

Description

A apache php application to send alarm events from prometheus to argos. The application listining inside the cluster.

important environment variables (must be set)

EnvDescription
ARGOS_URLthe endpoint argos url
ARGOS_API_KEYthe api-key for accepting request at argos
ARGOS_COMPONENTThe kubernetes-cluster name, that is compare to the containername in argos
ARGOS_CLUSTERThe kubernetes-cluster name, that is compare to the originname in argos
ARGOS_ACTIVE_WARNINGTo convert warning tickets into minor tickets for argos
ARGOS_CLUSTER_NAMETo put the clustename into to the output text in argos

Rule format

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.'

Tag summary

Content type

Image

Digest

Size

97.2 MB

Last updated

about 7 years ago

docker pull arvatoaws/argosinterface