mirror of https://github.com/Icinga/icinga2.git
21 lines
452 B
Plaintext
21 lines
452 B
Plaintext
|
#include "base/dynamicobject.hpp"
|
||
|
#include "base/application.hpp"
|
||
|
|
||
|
namespace icinga
|
||
|
{
|
||
|
|
||
|
class StatusDataWriter : DynamicObject
|
||
|
{
|
||
|
[config] String status_path {
|
||
|
default {{{ return Application::GetLocalStateDir() + "/cache/icinga2/status.dat"; }}}
|
||
|
};
|
||
|
[config] String objects_path {
|
||
|
default {{{ return Application::GetLocalStateDir() + "/cache/icinga2/objects.cache"; }}}
|
||
|
};
|
||
|
[config] double update_interval {
|
||
|
default {{{ return 15; }}}
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|