2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2014-10-17 19:44:31 +02:00
|
|
|
|
2014-05-25 16:23:35 +02:00
|
|
|
#include "base/application.hpp"
|
2013-10-26 09:41:45 +02:00
|
|
|
|
2015-08-04 14:47:44 +02:00
|
|
|
library icinga;
|
|
|
|
|
2013-10-26 09:41:45 +02:00
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
class IcingaApplication : Application
|
|
|
|
{
|
2019-02-20 13:55:34 +01:00
|
|
|
activation_priority -50;
|
|
|
|
|
2018-08-10 10:15:41 +02:00
|
|
|
[config, no_storage, virtual] String environment {
|
|
|
|
get;
|
|
|
|
set;
|
|
|
|
default {{{ return Application::GetAppEnvironment(); }}}
|
|
|
|
};
|
|
|
|
|
2015-09-22 18:18:29 +02: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 09:41:45 +02:00
|
|
|
};
|
|
|
|
|
2014-04-08 09:11:54 +02:00
|
|
|
}
|