Add enable_event_handlers attribute in status.dat

fixes #8321
This commit is contained in:
Gunnar Beutner 2015-01-30 15:23:55 +01:00
parent c781e62823
commit ce00081a57
1 changed files with 1 additions and 0 deletions

View File

@ -818,6 +818,7 @@ void StatusDataWriter::StatusTimerHandler(void)
"\t" "check_service_freshness=1" "\n"
"\t" "check_host_freshness=1" "\n"
"\t" "enable_notifications=" << (IcingaApplication::GetInstance()->GetEnableNotifications() ? 1 : 0) << "\n"
"\t" "enable_event_handlers=" << (IcingaApplication::GetInstance()->GetEnableEventHandlers() ? 1 : 0) << "\n"
"\t" "enable_flap_detection=" << (IcingaApplication::GetInstance()->GetEnableFlapping() ? 1 : 0) << "\n"
"\t" "enable_failure_prediction=0" "\n"
"\t" "process_performance_data=" << (IcingaApplication::GetInstance()->GetEnablePerfdata() ? 1 : 0) << "\n"