README.md 668 Bytes
Newer Older
Sébastien 'sogal' Poher's avatar
Sébastien 'sogal' Poher committed
1
# CheckMK CacheHQ integration
sogal's avatar
sogal committed
2
A CheckMK alert handler Bash script to update CacheHQ
Sébastien 'sogal' Poher's avatar
Sébastien 'sogal' Poher committed
3 4 5

## Requirements

Sébastien 'sogal' Poher's avatar
Sébastien 'sogal' Poher committed
6
* cUrl
Sébastien 'sogal' Poher's avatar
Sébastien 'sogal' Poher committed
7 8 9 10 11 12 13 14
* You need to have a running CheckMK instance with Check_MK Enterprise Edition as "alert handlers" are only available in this edition
* You need to have a running CacheHQ instance, reachable from your CheckMK instance

## Usage

This is a simple Bash script that is run by CheckMK alerts handling mechanism. It grabs and processes environment variables created by CheckMK and turns them into HTTP request to the CacheHQ REST API.

The script must be executable and placed in the `/opt/omd/sites/$INSTANCE_NAME/local/share/check_mk/alert_handlers/` directory.