icingaweb2-module-idoreports icon indicating copy to clipboard operation
icingaweb2-module-idoreports copied to clipboard

Time in soft state ignored

Open markruys opened this issue 5 years ago • 1 comments

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:

  1. Bring down a service.
  2. Wait until soft state moved to hard state, say 60 seconds.
  3. Wait 60 seconds.
  4. Recover the service.

SLA % then is based on 60.

Expected behavior

SLA % should be based on 120 seconds.

markruys avatar Jun 09 '19 14:06 markruys

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

lippserd avatar Apr 08 '20 09:04 lippserd