]> granicus.if.org Git - icinga2/blob - lib/perfdata/gelfwriter.ti
Merge pull request #7124 from Icinga/bugfix/namespace-thread-safe
[icinga2] / lib / perfdata / gelfwriter.ti
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #include "base/configobject.hpp"
4
5 library perfdata;
6
7 namespace icinga
8 {
9
10 class GelfWriter : ConfigObject
11 {
12         activation_priority 100;
13
14         [config] String host {
15                 default {{{ return "127.0.0.1"; }}}
16         };
17         [config] String port {
18                 default {{{ return "12201"; }}}
19         };
20         [config] String source {
21                 default {{{ return "icinga2"; }}}
22         };
23         [config] bool enable_send_perfdata {
24                 default {{{ return false; }}}
25         };
26
27         [no_user_modify] bool connected;
28         [no_user_modify] bool should_connect {
29                 default {{{ return true; }}}
30         };
31         [config] bool enable_ha {
32                 default {{{ return false; }}}
33         };
34 };
35
36 }