mirror of https://github.com/Icinga/icinga2.git
parent
73ed46f87d
commit
d01330ac27
|
@ -25,7 +25,7 @@ namespace icinga
|
|||
class Endpoint : DynamicObject
|
||||
{
|
||||
[config] String host;
|
||||
[config, required] String port {
|
||||
[config] String port {
|
||||
default {{{ return "5665"; }}}
|
||||
};
|
||||
[config] double log_duration {
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
|
||||
%type Endpoint {
|
||||
%attribute %string "host",
|
||||
|
||||
%require "port",
|
||||
%attribute %string "port",
|
||||
|
||||
%attribute %number "log_duration"
|
||||
|
|
Loading…
Reference in New Issue