icingaweb2-module-idoreports
icingaweb2-module-idoreports copied to clipboard
Time in soft state ignored
Time in soft state ignored
The SLA % calculation starts at the time the service enters hard state, which is correct. But in hard state, the soft state time should also be regarded as down time.
To Reproduce
Steps to reproduce the behavior:
- Bring down a service.
- Wait until soft state moved to hard state, say 60 seconds.
- Wait 60 seconds.
- Recover the service.
SLA % then is based on 60.
Expected behavior
SLA % should be based on 120 seconds.
Hi,
Thanks for the report.
I did not test this yet but how did you verify that the SLA is based on only 60 seconds?
All the best, Eric