Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

sylr/alertmanager-splunkbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alertmanager-splunkbot

Docker Repository on Quay

Forwarding alerts sent by prometheus alertmanager to splunk in order to understand the logic ...

Alertmanager splunkbot k8s container:

      - name: prometheus-alertmanager-splunkbot
        image: quay.io/sylr/alertmanager-splunkbot:v0.0.9
        args:
        - -v
        - --insecure
        env:
        - name: SPLUNKBOT_LISTENING_ADDRESS
          value: 127.0.0.1
        - name: SPLUNKBOT_LISTENING_PORT
          value: "44553"
        - name: SPLUNKBOT_SPLUNK_URL
          value: https://10.101.0.46/services/collector/event/1.0
        - name: SPLUNKBOT_SPLUNK_TOKEN
          valueFrom:
            secretKeyRef:
              key: splunk-token
              name: splunkbot-secrets
        imagePullPolicy: IfNotPresent
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File

Alertmanager config:

receivers:
  webhook_configs:
  - send_resolved: true
    url: http://127.0.0.1:44553