mirror of https://github.com/Icinga/icinga2.git
30 lines
540 B
Plaintext
30 lines
540 B
Plaintext
#include "db_ido/dbconnection.hpp"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class IdoPgsqlConnection : DbConnection
|
|
{
|
|
[config] String host {
|
|
default {{{ return "localhost"; }}}
|
|
};
|
|
[config] String port {
|
|
default {{{ return "5432"; }}}
|
|
};
|
|
[config] String user {
|
|
default {{{ return "icinga"; }}}
|
|
};
|
|
[config] String password {
|
|
default {{{ return "icinga"; }}}
|
|
};
|
|
[config] String database {
|
|
default {{{ return "icinga"; }}}
|
|
};
|
|
[config] String instance_name {
|
|
default {{{ return "default"; }}}
|
|
};
|
|
[config] String instance_description;
|
|
};
|
|
|
|
}
|