mirror of https://github.com/Icinga/icinga2.git
parent
a4ed44247e
commit
721483e0b2
|
@ -30,12 +30,6 @@ class GelfWriter : DynamicObject
|
|||
[config] String port {
|
||||
default {{{ return "12201"; }}}
|
||||
};
|
||||
[config] String host_name_template {
|
||||
default {{{ return "icinga.$host.name$"; }}}
|
||||
};
|
||||
[config] String service_name_template {
|
||||
default {{{ return "icinga.$host.name$.$service.name$"; }}}
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -33,3 +33,9 @@
|
|||
%attribute %string "host_name_template",
|
||||
%attribute %string "service_name_template"
|
||||
}
|
||||
|
||||
%type GelfWriter {
|
||||
%attribute %string "host",
|
||||
%attribute %string "port"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue