Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incident creation failes #93

Open
tomtom125 opened this issue Jun 27, 2018 · 1 comment
Open

Incident creation failes #93

tomtom125 opened this issue Jun 27, 2018 · 1 comment

Comments

@tomtom125
Copy link

Hi,

I have almost the same problem like here: #28
Status change works but it doesn't create incident.

New incident error:
Creating incident...
2018/06/27 12:25:50 /go/src/github.com/castawaylabs/cachet-monitor/cachet/incident.go:72: 400 {"errors":[{"id":"7xxxxxxx3","status":400,"title":"Bad Request","detail":"The request cannot be fulfilled due to bad syntax.","meta":{"details":["The status format is invalid."]}}]}
2018/06/27 12:25:50 /go/src/github.com/castawaylabs/cachet-monitor/cachet/incident.go:85: Could not create/update incident!

Incident resolved error:
2018/06/27 12:26:50 /go/src/github.com/castawaylabs/cachet-monitor/cachet/monitor.go:114: Updating incident to resolved...
2018/06/27 12:26:50 /go/src/github.com/castawaylabs/cachet-monitor/cachet/incident.go:72: 400 {"errors":[{"id":"5dxxxxxxxxxxxxxxxxx7f9","status":400,"title":"Bad Request","detail":"The request cannot be fulfilled due to bad syntax.","meta":{"details":["The status format is invalid."]}}]}
2018/06/27 12:26:50 /go/src/github.com/castawaylabs/cachet-monitor/cachet/incident.go:85: Could not create/update incident!

I'm using : cachethq/docker:2.3.14 and castawaylabs/cachet-monitor docker images

Can you help me?

Thanks
Tom

@callum22
Copy link

callum22 commented Oct 4, 2018

Also having the same issue with the docker version of cachet-monitor. I believe it's because Cachet requires you to pass the component_status when creating an incident and the code doesn't do this. Not sure if this project is being maintained at all but if it is it'd be great if this could be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants