-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update simplemon widget counts to only show unhandled problems (!ack && !downtime) #17
Comments
Hi, i've just committed a change, i hope it will fix the wrong calculation. In my vagrant box it worked, please be so kind and test it before i will send a PR :) To test just change the file -- Hi, ich habe gerade eine Änderung committed, ich hoffe dass die die falsche Berechnung fixt. In meiner Testumgebung hat das ganze funktioniert, bitte sei so nett und teste es bevor ich einen PR sende :) Um das zu testen tausche die Datei |
Hi, |
I was thinking about a generic "handled problems" count, since you cannot determine a host/service which is in downtime or acknowledged by these numbers. A similar thing is done already for the problems list, and could be used to just count all problems which are unhandled. |
I've added a new method to lib/icinga2.rb to count handled problems. The method The service calculation is a bit tricky. There must be a distinction between services in warning state and services in critical state. Now a acknowledged warning state of a service will add -1 on the service critical widget. I don't know how to handle this reliable. |
hi @mcktr i got a same by acknowledged warning state |
Hi, with my new commit it should only show unhandled problems. The calculation considers now the state (e.g. a acknowledged service in warning state will not count +1). Please test it. :) |
hi @mcktr, |
Hi @odrino14, |
Die Ack-Probleme von Host und Services werden als Critical noch mitgezählt
The text was updated successfully, but these errors were encountered: