]> granicus.if.org Git - icinga2/blob - lib/perfdata/graphitewriter.ti
Merge pull request #7527 from Icinga/bugfix/checkable-command-endpoint-zone
[icinga2] / lib / perfdata / graphitewriter.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 GraphiteWriter : 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 "2003"; }}}
19         };
20         [config] String host_name_template {
21                 default {{{ return "icinga2.$host.name$.host.$host.check_command$"; }}}
22         };
23         [config] String service_name_template {
24                 default {{{ return "icinga2.$host.name$.services.$service.name$.$service.check_command$"; }}}
25         };
26         [config] bool enable_send_thresholds;
27         [config] bool enable_send_metadata;
28
29         [no_user_modify] bool connected;
30         [no_user_modify] bool should_connect {
31                 default {{{ return true; }}}
32         };
33         [config] bool enable_ha {
34                 default {{{ return false; }}}
35         };
36 };
37
38 }