prometheus / prometheus/alertmanager
Prometheus Alert manager to send the scraping to Moogsoft
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.6k
- Forks
- 2.5k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 61
Description
Hi Team,
Currently we configured Prometheus Alert manager to send the scraping to Netcool, Now we are Migrating from Netcool to Moogsoft. Moogsoft team recommended the events should be in the below format of (key value pair) and those are the MANDATORY fields to populate the alerts and monitoring.
We` have updated the webhook url in manifest configuration as describe below, which not sending data to Moogsoft.
- What is the best approach to set this formatting in alert manager or directly from Prometheus ?
Example of key value pairs
"signature" = "{{ALARM_NAME}}" * OPTIONAL – see DEFAULT
"source" = "{{SOURCE}}" * MANDATORY
"source_id" = "1.1.1.1" - Optional
"description" = "{{MESSAGE}}" * MANDATORY
"severity" = "{{SEVERITY}}" * MANDATORY
"external_id" = "{{ALARM_ID}}" - Optional
"agent" = "Foglight" * MANDATORY
"agent_location" = "EMEA" * MANDATORY
"class" = "Database" * MANDATORY
"type" = "{{ALARM_NAME}}" * MANDATORY
"connection_name"= "{{CONNECTION_NAME}}" - Optional
"time" = "{{TIME}}" - Optional
"ciowner" = "{{CIOwner}}" * MANDATORY
"iropqueue" = "{{IROpQueue}}" * MANDATORY
"uaid" = "{{UAID-#####}}" - Optional
“additional_data" = "{{DATA HERE}}" - Optional
Versions
Prometheus/26.4.0
Grafana version/7.3.3
Alert manager Version: 0.21.0
From Prometheus Config
- name: alertmanager
properties:
alertmanager:
mesh:
password: xxxxxx
receivers:
- email_configs:
- to: xxxx@yyyy.com
name: mail-receiver
webhook_configs:
- url: https://alertlogger.xxxxx.com
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no repository files, tests, or entry points to start from. First determine whether Alertmanager can transform webhook alerts into Moogsoft's required key-value format; done means identifying a supported configuration or documenting the limitation and approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- prometheus
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100