Commit 2f86453d authored by Michael Friedrich's avatar Michael Friedrich
Browse files

go-icinga2-events: Update README

parent bf57720d
...@@ -24,17 +24,26 @@ Therefore add a new ApiUser object to your Icinga 2 configuration: ...@@ -24,17 +24,26 @@ Therefore add a new ApiUser object to your Icinga 2 configuration:
permissions = [ "events" ] permissions = [ "events" ]
} }
## Script # Configuration
**TODO**: Hardcoded inside the script.
* API URL, Username, Password
* SSL Verification
Build and run the binary. # Run
Build and run the binary. There are currently no external libraries required.
export GOPATH=`pwd` export GOPATH=`pwd`
go build go build
./go-icinga2-events ./go-icinga2-events
# Configuration # TODO
**TODO**: Hardcoded inside the script.
* API URL, Username, Password * Config file for API credentials
* SSL Verification * Support for multiple types (currently CheckResult hardcoded)
* This requires mapping the static structs to the JSON messages
* Support for definable hooks (e.g. "OnStateChange", "OnFlappingDetected", etc.) for easier demos
* Support for triggering API actions on specific events (reschedule a check, auto-acknowledge problems based on a specific custom attributes, etc.)
* Support for querying objects on demand (the event message payload doesn't provide them)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment