mirror of https://github.com/Icinga/icinga2.git
27 lines
498 B
Plaintext
27 lines
498 B
Plaintext
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#include "base/configobject.hpp"
|
|
#include "base/application.hpp"
|
|
|
|
library compat;
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class StatusDataWriter : ConfigObject
|
|
{
|
|
activation_priority 100;
|
|
|
|
[config] String status_path {
|
|
default {{{ return Configuration::CacheDir + "/status.dat"; }}}
|
|
};
|
|
[config] String objects_path {
|
|
default {{{ return Configuration::CacheDir + "/objects.cache"; }}}
|
|
};
|
|
[config] double update_interval {
|
|
default {{{ return 15; }}}
|
|
};
|
|
};
|
|
|
|
}
|