]> granicus.if.org Git - icinga2/blob - lib/icinga/icingaapplication.ti
Merge pull request #6974 from Icinga/feature/copyright-generic
[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         [config, no_storage, virtual] String environment {
13                 get;
14                 set;
15                 default {{{ return Application::GetAppEnvironment(); }}}
16         };
17
18         [config] bool enable_notifications {
19                 default {{{ return true; }}}
20         };
21         [config] bool enable_event_handlers {
22                 default {{{ return true; }}}
23         };
24         [config] bool enable_flapping {
25                 default {{{ return true; }}}
26         };
27         [config] bool enable_host_checks {
28                 default {{{ return true; }}}
29         };
30         [config] bool enable_service_checks {
31                 default {{{ return true; }}}
32         };
33         [config] bool enable_perfdata {
34                 default {{{ return true; }}}
35         };
36         [config] Dictionary::Ptr vars;
37 };
38
39 }