You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing this eventhandler with cachethq v2.2.2 e.g. /usr/lib64/nagios/plugins/eventhandlers/cachet_notify 'Whatever Web Access' 'My nagios service'
I get the following response:
CRITICAL HARD 'The service is Critical'
KO HARD: creating incident
Can't create incident
The arrary that is being sent to cachethq is as follows:
Array
(
[name] => [Nagios] This is a test
[message] => Blah
[status] => 1
[component_id] => 3
[notify] => 1
)
And the detailed response is:
400 {"errors":[{"id":"ed354db7-e726-41c2-a69c-791e3e8b521f","status":400,"title":"Bad Request","detail":"The request cannot be fulfilled due to bad syntax.","meta":{"details":["The status format is invalid."]}}]}
Any ideas?
Thanks,
jonny
The text was updated successfully, but these errors were encountered:
I'm testing this eventhandler with cachethq v2.2.2 e.g.
/usr/lib64/nagios/plugins/eventhandlers/cachet_notify 'Whatever Web Access' 'My nagios service'
I get the following response:
The arrary that is being sent to cachethq is as follows:
Array
(
[name] => [Nagios] This is a test
[message] => Blah
[status] => 1
[component_id] => 3
[notify] => 1
)
And the detailed response is:
400 {"errors":[{"id":"ed354db7-e726-41c2-a69c-791e3e8b521f","status":400,"title":"Bad Request","detail":"The request cannot be fulfilled due to bad syntax.","meta":{"details":["The status format is invalid."]}}]}
Any ideas?
Thanks,
jonny
The text was updated successfully, but these errors were encountered: