Skip to content
This repository was archived by the owner on Jan 15, 2019. It is now read-only.
This repository was archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #5630] Report is showing 100% down, if no state change occurs in selected timeframe #68

@icinga-migration

Description

@icinga-migration

This issue has been migrated from Redmine: https://dev.icinga.com/issues/5630

Created by wolle on 2014-02-10 14:27:43 +00:00

Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2015-05-18 12:17:56 +00:00 (in Redmine)

Icinga Version: 1.10.2
DB Type: MySQL
DB Version: Ver 14.14 Distrib 5.1.71, for redhat-linux-gnu (x86_64) using readline 5.1
Jasper Version: 5.5.0

Hi,

Reporting is showing me 100% outage for a selected timeframe, if no state change has happened for this period. Maybe this bug is related to #4511 and #4152.

mysql> select * from icinga_statehistory where icinga_statehistory.object_id=3215 and state_time >'2013-10-01 00:00:00';
+-----------------+-------------+---------------------+-----------------+-----------+--------------+-------+------------+----+
| statehistory_id | instance_id | state_time          | state_time_usec | object_id | state_change | state | state_type | cur|
+-----------------+-------------+---------------------+-----------------+-----------+--------------+-------+------------+----+
|          446632 |           1 | 2013-10-03 07:31:02 |          253414 |      3215 |            1 |     3 |          0 |    |
|          446633 |           1 | 2013-10-03 07:32:17 |          252440 |      3215 |            1 |     2 |          0 |    |
|          446640 |           1 | 2013-10-03 07:35:02 |           99212 |      3215 |            1 |     0 |          0 |    |
+-----------------+-------------+---------------------+-----------------+-----------+--------------+-------+------------+----+

Faulty Report - No State Change Events in Timeframe

reporting-error.PNG

OK Report - One State Change Event in Timeframe

reporting-ok.PNG

No downtime has been set in this period:

mysql> select * from icinga_downtimehistory where icinga_downtimehistory.object_id=390;
Empty set (0.01 sec)

Regards,
wolle

Attachments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions