mirror of https://github.com/Icinga/icinga2.git
26 lines
398 B
Plaintext
26 lines
398 B
Plaintext
#include "base/dynamicobject.h"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class Endpoint : DynamicObject
|
|
{
|
|
[config] String host;
|
|
[config] String port {
|
|
default {{{ return "5665"; }}}
|
|
};
|
|
[config] double keep_alive {
|
|
default {{{ return 300; }}}
|
|
};
|
|
[config] double log_duration {
|
|
default {{{ return 86400; }}}
|
|
};
|
|
|
|
[state] double local_log_position;
|
|
[state] double remote_log_position;
|
|
|
|
bool syncing;
|
|
};
|
|
|
|
}
|