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

Multiple notifications from distributed monitors #80

Open
robansaldo opened this issue Sep 18, 2017 · 0 comments
Open

Multiple notifications from distributed monitors #80

robansaldo opened this issue Sep 18, 2017 · 0 comments

Comments

@robansaldo
Copy link

I'm running cachet-monitor on two different hosts in different geographical locations and if they both detect a monitor down condition, subscribers receive two notifications. The "Updates Component to Major Outage if already in Partial Outage (works with distributed monitors)" is not working the way I would expect it to (doesn't switch to major outage), so it is possible I do not have it set up properly. Here is my monitor config:

{ "api": { "url": "https://REDACTED/api/v1", "token": "REDACTED", "insecure": false }, "date_format": "Mon Jan _2 15:04:05 MST 2006", "monitors": [ { "name": "Website", "target": "https://REDACTED", "strict": true, "method": "GET", "component_id": 1, "interval": 5, "timeout": 5, "threshold": 90, "expected_body": ".*Website.*", "template": { "investigating": { "subject": "{{ .Monitor.Name }}", "message": "{{ .Monitor.Name }} automated test has failed at {{ .now }}\n\nIT Staff have been alerted." }, "fixed": { "subject": "{{ .Monitor.Name }} incident has been resolved." } } } ] }

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

1 participant