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