prometheus / prometheus/alertmanager

Prometheus Alert manager to send the scraping to Moogsoft

Open
#2,553 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/support stale
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.