-
Notifications
You must be signed in to change notification settings - Fork 20
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
False positives #30
Comments
I tried clean v1.4.3 and some sample apps from catalog and it seems to get state changes without any problem. Can you provide logs from container ? we can add some debug to see more later. My sample log:
|
I am not sure if you initiated an issue, but it looks like your service pxc became UNHEALTHY after rancher-alarms started. Here are my logs. As you can see 6 of the 10 services were marked as degraded and then UNHEALTH pretty much right on startup. Thre resulted in 6 emails being triggered. However, Rancher is showing every service as active/green. 4/11/2017 10:42:51 AM> rancher-alarms@0.1.7 start /usr/src/app |
Well GREEN service in Rancher UI doesn't mean it's healthy, depends on how you setup healtchecks in affected services. If you look to API services are they really healthy ? |
Using the rancher cli running a |
Also, using the "view in API" from the UI is showing the same results - active and healthy. |
That's strange, it get result from API (services, see server.es6 and rancher.es6), do you have more environments ? |
There is only a single cattle environment on the server that is being queried. |
Ok, so please run it with debug, I need to see more than standard log |
I'm not familiar with trace() which is used here, but you can easily change it to info() in src/server.es6, line 32
it will show you complete API response which is received from Rancher. And run it from shell:
|
@VAdamec - I found the issue and it does have to do with the version of Rancher. The https://github.com/ndelitski/rancher-alarms/blob/master/src/monitor.es6#L195 |
Ok, it's seems to be easy fix, do you create PR ? we see If and when @ndelitski accept it |
Hello,
I pointed this at my rancher 1.4.3 server and it said about half my stacks were in an UNHEALTHY state and fired off a bunch of emails. However, the rancher UI says everything is green.
Is 1.4 supported?
The text was updated successfully, but these errors were encountered: