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

Commit

Permalink
Fix StatusSummary: Do not drop host/service when state==NULL (refs #3…
Browse files Browse the repository at this point in the history
…844)
  • Loading branch information
lazyfrosch committed Mar 13, 2013
1 parent 29be57a commit 226623a
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -106,9 +106,13 @@ public function getDataForType($type) {
foreach ($records as $record) {
$state = $record['a_current_state'];

/* DO NOT check for this, due to a missing inital (pending)
state this *can* be NULL (#3838) -mfrosch
*//*
if (!is_numeric($state)) {
continue;
}
*/

if ((!$record['a_has_been_checked'])) {
$state = IcingaConstants::HOST_PENDING;
Expand Down

0 comments on commit 226623a

Please sign in to comment.