]> granicus.if.org Git - icinga2/blob - lib/icinga/icingaapplication.ti
Merge pull request #7000 from Icinga/bugfix/goto-loop
[icinga2] / lib / icinga / icingaapplication.ti
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #include "base/application.hpp"
4
5 library icinga;
6
7 namespace icinga
8 {
9
10 class IcingaApplication : Application
11 {
12         activation_priority -50;
13
14         [config, no_storage, virtual] String environment {
15                 get;
16                 set;
17                 default {{{ return Application::GetAppEnvironment(); }}}
18         };
19
20         [config] bool enable_notifications {
21                 default {{{ return true; }}}
22         };
23         [config] bool enable_event_handlers {
24                 default {{{ return true; }}}
25         };
26         [config] bool enable_flapping {
27                 default {{{ return true; }}}
28         };
29         [config] bool enable_host_checks {
30                 default {{{ return true; }}}
31         };
32         [config] bool enable_service_checks {
33                 default {{{ return true; }}}
34         };
35         [config] bool enable_perfdata {
36                 default {{{ return true; }}}
37         };
38         [config] Dictionary::Ptr vars;
39 };
40
41 }