[dev.icinga.com #4511] telling 100% down if no data is found #60
Comments
Updated by mfriedrich on 2013-08-05 09:24:15 +00:00
|
Updated by mfriedrich on 2013-08-05 09:25:02 +00:00
wrong section, moved. |
Updated by tgelf on 2013-08-20 13:17:37 +00:00 Has there a downtime (icinga_downtimehistory) been set in the chosen timeperiod? |
Updated by tkoeberl on 2013-09-05 11:56:34 +00:00 No:
|
Updated by tkoeberl on 2013-09-05 13:02:44 +00:00 Maybe that helps. All for the same host/service in the last month:
I get 11% downtime from '2013-08-01 00:00:00' to '2013-08-31 23:59:59'
Now some maths:
For me it looks that the calculation is NOT assuming that the Service is running right now, but it is ;) |
Updated by berk on 2015-05-18 12:17:46 +00:00
|
Updated by mdetrano on 2015-08-21 21:35:31 +00:00
I came across this problem, too, and was able to get the reports working a little better with the attached patch applied to the availability.sql script to create the stored icinga_availability function in mysql. The patch makes sure at least an initial state record exists at the "start" time of the report, by using data from the most recent event in the statehistory table prior to that time. Patch also deals with an issue where downtimes that occur after the start of the report, but never get triggered, were causing the report to show "100% ok", even if that wasn't the case. There's probably better ways to fix this issue but I hope this may help as a workaround for now for anyone looking to fix the availability reports. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/4511
Created by tkoeberl on 2013-08-05 09:22:48 +00:00
Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2015-08-21 21:35:31 +00:00 (in Redmine)
It looks like the reporting is telling me 100% down if there is no data found for this time.
Using this data:
I get 100% downtime for the timeframe from 12.04 00:00 -13.04 00:00
and correct data for the timeframe from 11.04 - 13.04
applying the patch: https://dev.icinga.org/issues/4152 did not change anything.
http://www.monitoring-portal.org/wbb/index.php?page=Thread&threadID=28658
Attachments
The text was updated successfully, but these errors were encountered: