2019-11-02 14:00:06 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2017-09-25 14:41:43 +02:00
|
|
|
|
|
|
|
#include "base/configobject.hpp"
|
|
|
|
|
2019-11-02 17:24:34 +01:00
|
|
|
library icingadb;
|
2017-09-25 14:41:43 +02:00
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2019-10-29 17:32:29 +01:00
|
|
|
class IcingaDB : ConfigObject
|
2017-09-25 14:41:43 +02:00
|
|
|
{
|
|
|
|
[config] String host {
|
|
|
|
default {{{ return "127.0.0.1"; }}}
|
|
|
|
};
|
|
|
|
[config] int port {
|
2019-11-21 09:26:08 +01:00
|
|
|
default {{{ return 6380; }}}
|
2017-09-25 14:41:43 +02:00
|
|
|
};
|
|
|
|
[config] String path;
|
|
|
|
[config] String password;
|
|
|
|
[config] int db_index;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|