8000 GitHub - iestebanvi/alertman2omi: Prometheus Alertmanager to HP Omi (json to xml)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

iestebanvi/alertman2omi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Prometheus Alertmanager to OMI

  • Settings are passed as environment vars:
    OMI_URL: The OMI url that will receive the alerts.
    OMI_CATEGORY: OMI category to send in the event.
    OMI_CI: OMI CI to send with in the event
  • Template is in template.xml. It uses jinja.
  • You can run this app inside of openshift with oc new-app.
  • Includes omireceiver as a dummy-service to receive the events and make some tests.

Example

Install:

oc create ns alertman2omi  
oc -n alertman2omi new-app https://github.com/jmgarciac/alertman2omi.git --context-dir=app --name alertman2omi \
 -e OMI_URL="http://omireceiver.alertman2omi.svc:8080/post" \
 -e OMI_CATEGORY="OPENSHIFT" \
 -e OMI_CI="poc-ocp4"  

Uninstall alertman2omi

oc -n alertman2omi delete all -l app=alertman2omi
oc delete ns alertman2omi

Install dummy omireceiver (only for testing)

oc -n alertman2omi new-app  https://github.com/jmgarciac/alertman2omi.git --context-dir=omireceiver/app --name omireceiver

Uninstall dummy omireceiver

oc -n alertman2omi delete all -l app=omireceiver

About

Prometheus Alertmanager to HP Omi (json to xml)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0