1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #include "base/configobject.hpp"
10 class GraphiteWriter : ConfigObject
12 activation_priority 100;
14 [config] String host {
15 default {{{ return "127.0.0.1"; }}}
17 [config] String port {
18 default {{{ return "2003"; }}}
20 [config] String host_name_template {
21 default {{{ return "icinga2.$host.name$.host.$host.check_command$"; }}}
23 [config] String service_name_template {
24 default {{{ return "icinga2.$host.name$.services.$service.name$.$service.check_command$"; }}}
26 [config] bool enable_send_thresholds;
27 [config] bool enable_send_metadata;
29 [no_user_modify] bool connected;
30 [no_user_modify] bool should_connect {
31 default {{{ return true; }}}
33 [config] bool enable_ha {
34 default {{{ return false; }}}