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
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.7i3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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