2026-01-27 09:06:40 -05:00
|
|
|
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2014-10-17 13:44:31 -04:00
|
|
|
|
2014-05-25 10:23:35 -04:00
|
|
|
#include "base/application.hpp"
|
2013-10-26 03:41:45 -04:00
|
|
|
|
2015-08-04 08:47:44 -04:00
|
|
|
library icinga;
|
|
|
|
|
|
2013-10-26 03:41:45 -04:00
|
|
|
namespace icinga
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
class IcingaApplication : Application
|
|
|
|
|
{
|
2019-02-20 07:55:34 -05:00
|
|
|
activation_priority -50;
|
|
|
|
|
|
2018-08-10 04:15:41 -04:00
|
|
|
[config, no_storage, virtual] String environment {
|
|
|
|
|
get;
|
|
|
|
|
set;
|
|
|
|
|
default {{{ return Application::GetAppEnvironment(); }}}
|
|
|
|
|
};
|
|
|
|
|
|
2015-09-22 12:18:29 -04:00
|
|
|
[config] bool enable_notifications {
|
|
|
|
|
default {{{ return true; }}}
|
|
|
|
|
};
|
|
|
|
|
[config] bool enable_event_handlers {
|
|
|
|
|
default {{{ return true; }}}
|
|
|
|
|
};
|
|
|
|
|
[config] bool enable_flapping {
|
|
|
|
|
default {{{ return true; }}}
|
|
|
|
|
};
|
|
|
|
|
[config] bool enable_host_checks {
|
|
|
|
|
default {{{ return true; }}}
|
|
|
|
|
};
|
|
|
|
|
[config] bool enable_service_checks {
|
|
|
|
|
default {{{ return true; }}}
|
|
|
|
|
};
|
|
|
|
|
[config] bool enable_perfdata {
|
|
|
|
|
default {{{ return true; }}}
|
|
|
|
|
};
|
|
|
|
|
[config] Dictionary::Ptr vars;
|
2013-10-26 03:41:45 -04:00
|
|
|
};
|
|
|
|
|
|
2014-04-08 03:11:54 -04:00
|
|
|
}
|