nagios-eventhandler-cachet
nagios-eventhandler-cachet copied to clipboard
Raising issue doesn't change status of component
Currently using nagios-eventhandler-cachet with a cachet installation v2.0.0 RC5
When running the cachet_notify to change a component, it returns the correct task "KO HARD":
./cachet_notify 'component' 'nagios service' CRITICAL HARD 'The service is Critical'
KO HARD: creating incident
Can't create incident
Also raises an issue, but the component status is never changed.
Nginx returns code 400
"POST /api/v1/incidents HTTP/1.1" 400 219 "-" "-" "-"
It looks like there's more fields required when running a post/incident. Cachet doc seems to be out of date as well, but already made the query.
I've prepared a fix for nagios-eventhandler-cachet and will submit the code to project owner.