Icinga / icingaweb2-module-idoreports

Icinga IDO Reports provides host and service availability reports for Icinga based on the monitoring database (IDO).
GNU General Public License v2.0
34 stars 13 forks source link

Account for WARNING as well as ERROR states in SLA #44

Closed willfurnell closed 3 years ago

willfurnell commented 3 years ago

Is your feature request related to a problem? Please describe.

In Thruk in Nagios, WARNING as well as ERROR states would reduce the service avaliablilty shown in the SLA. We don't think that WARNING states are being accounted for in the Icinga SLA report (the Nagios/Thruk report shows a lower service avaliability than the Icinga one for the same time period).

Describe the solution you'd like

Either a configurable way to turn this on and off, and I assume off by default to not break existing setups, or another get_sla_ok_percent.sql that includes this functionality that users could apply to their server.

Describe alternatives you've considered

Installing Thruk on Icinga to get this functionality, but if we can stick to using the Icinga web UI that would be beneficial.

Additional context

N/A

nilmerg commented 3 years ago

Would this be solved with the ability to filter objects by their state? #40

willfurnell commented 3 years ago

Yes - this particular bit - https://github.com/Icinga/icingaweb2-module-idoreports/issues/40#issuecomment-762153809 if you could filter for WARNING or ERROR would solve our issue.

nilmerg commented 3 years ago

Fine, then I'll close here in favor of that.