Created
April 12, 2017 07:26
-
-
Save henkwiedig/d1f94e07cb4709e5c36a3c79dbe98431 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
http_method => "post" | |
url => "https://xxxx:5665/v1/actions/process-check-result?service=%{hostname}!%{service}" | |
headers => ["Authorization", "Basic aWNpbmdhOmljaW5nYQ==","Accept","application/json"] | |
content_type => "application/json" | |
format => "json" | |
mapping => { | |
"exit_status" => "%{level}" | |
"plugin_output" => "%{message}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment