2019-02-25 08:48:22 -05:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2014-11-05 16:00:44 -05:00
|
|
|
|
2015-08-15 14:28:05 -04:00
|
|
|
#include "base/configobject.hpp"
|
2014-11-05 16:00:44 -05:00
|
|
|
|
2015-08-04 08:47:44 -04:00
|
|
|
library perfdata;
|
|
|
|
|
|
2014-11-05 16:00:44 -05:00
|
|
|
namespace icinga
|
|
|
|
|
{
|
|
|
|
|
|
2015-08-15 14:28:05 -04:00
|
|
|
class GelfWriter : ConfigObject
|
2014-11-05 16:00:44 -05:00
|
|
|
{
|
2019-02-19 08:06:15 -05:00
|
|
|
activation_priority 100;
|
2018-04-26 09:53:11 -04:00
|
|
|
|
2014-11-05 16:00:44 -05:00
|
|
|
[config] String host {
|
|
|
|
|
default {{{ return "127.0.0.1"; }}}
|
|
|
|
|
};
|
|
|
|
|
[config] String port {
|
|
|
|
|
default {{{ return "12201"; }}}
|
|
|
|
|
};
|
2014-11-11 08:05:28 -05:00
|
|
|
[config] String source {
|
|
|
|
|
default {{{ return "icinga2"; }}}
|
|
|
|
|
};
|
2015-08-06 08:13:00 -04:00
|
|
|
[config] bool enable_send_perfdata {
|
|
|
|
|
default {{{ return false; }}}
|
|
|
|
|
};
|
2017-06-06 13:48:23 -04:00
|
|
|
|
|
|
|
|
[no_user_modify] bool connected;
|
|
|
|
|
[no_user_modify] bool should_connect {
|
|
|
|
|
default {{{ return true; }}}
|
|
|
|
|
};
|
2018-10-24 07:43:38 -04:00
|
|
|
[config] bool enable_ha {
|
2019-03-27 10:29:03 -04:00
|
|
|
default {{{ return false; }}}
|
2018-10-24 07:43:38 -04:00
|
|
|
};
|
2018-11-30 16:08:18 -05:00
|
|
|
[config] bool enable_tls {
|
|
|
|
|
default {{{ return false; }}}
|
|
|
|
|
};
|
2021-08-12 10:43:29 -04:00
|
|
|
[config] bool insecure_noverify {
|
|
|
|
|
default {{{ return false; }}}
|
|
|
|
|
};
|
2018-11-30 16:08:18 -05:00
|
|
|
[config] String ca_path;
|
|
|
|
|
[config] String cert_path;
|
|
|
|
|
[config] String key_path;
|
2014-11-05 16:00:44 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}
|