Skip to content

Tools to interact with the check_mk WATO and OMD APIs

License

Notifications You must be signed in to change notification settings

gerardba/omdclient

 
 

Repository files navigation

omdclient

omdclient provides a suite of tools to interact with the APIs associated with the check_mk/Open Monitoring Distribution tool suite

WATO APIs

WATO is used to create, remove, and modify entries within the OMD user suite. This is documented at:

http://mathias-kettner.com/checkmk_wato_webapi.html

omd-host-crud

Creates/Reads/Updates/Deletes entries from an existing monitoring interface.

omd-activate

Activates changes made by the API user.

omd-puppet-enc

Provides a linkage between a puppet External Node Classifier (ENC) and a monitoring instance. In essence, we want to add hosts to monitoring when a host is added to puppet; remove the host from monitoring when the host is removed from puppet; and re-tag the host when its role changes.

https://docs.puppetlabs.com/guides/external_nodes.html

Multisite/Nagios

https://mathias-kettner.de/checkmk_multisite_automation.html

omd-nagios-ack

Acknowledges host/service alerts from the command-line.

omd-nagios-downtime

Schedules host/service downtimes from the command-line.

omd-nagios-report

Prints a human-readable report on current host and service alerts.

How To Use

/etc/omdclient/config.yaml

You'll have to populate this file on your own:

server: 'xxxxxx.example'
site: 'xxxxxx'
user: 'xxxx-api'
apikey: 'xxxxxx'

About

Tools to interact with the check_mk WATO and OMD APIs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 86.2%
  • Shell 13.8%