mirror of https://github.com/Icinga/icinga2.git
Fix hardcoded host notifications_options value in compat statusdatawriter
Use the function from CompatUtility to retrieve the value. fixes #8192
This commit is contained in:
parent
848d076090
commit
d5e406db85
|
@ -270,7 +270,7 @@ void StatusDataWriter::DumpHostObject(std::ostream& fp, const Host::Ptr& host)
|
|||
"\t" "active_checks_enabled" "\t" << CompatUtility::GetCheckableActiveChecksEnabled(host) << "\n"
|
||||
"\t" "passive_checks_enabled" "\t" << CompatUtility::GetCheckablePassiveChecksEnabled(host) << "\n"
|
||||
"\t" "notifications_enabled" "\t" << CompatUtility::GetCheckableNotificationsEnabled(host) << "\n"
|
||||
"\t" "notification_options" "\t" << "d,u,r" << "\n"
|
||||
"\t" "notification_options" "\t" << CompatUtility::GetCheckableNotificationNotificationOptions(host) << "\n"
|
||||
"\t" "notification_interval" "\t" << CompatUtility::GetCheckableNotificationNotificationInterval(host) << "\n"
|
||||
"\t" "event_handler_enabled" "\t" << CompatUtility::GetCheckableEventHandlerEnabled(host) << "\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue