Werk #2430: Fixed crash with availability queries when using nagios as core

Component Core & setup
Title Fixed crash with availability queries when using nagios as core
Date Sep 23, 2015
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.7i3
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The nagios core crashed when a query on the statehist table did return zero entries. This happened when a timewindow was queried where the hosts/services in question did not exist.

To the list of all Werks