mirror of https://github.com/Icinga/icinga2.git
23 lines
423 B
Plaintext
23 lines
423 B
Plaintext
#include "base/dynamicobject.hpp"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class GraphiteWriter : DynamicObject
|
|
{
|
|
[config] String host {
|
|
default {{{ return "127.0.0.1"; }}}
|
|
};
|
|
[config] String port {
|
|
default {{{ return "2003"; }}}
|
|
};
|
|
[config] String host_name_template {
|
|
default {{{ return "icinga.$host.name$"; }}}
|
|
};
|
|
[config] String service_name_template {
|
|
default {{{ return "icinga.$host.name$.$service.name$"; }}}
|
|
};
|
|
};
|
|
|
|
}
|