2014-05-25 16:23:35 +02:00
|
|
|
#include "base/dynamicobject.hpp"
|
|
|
|
#include "base/application.hpp"
|
2013-10-26 09:41:45 +02:00
|
|
|
|
|
|
|
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"; }}}
|
|
|
|
};
|
2013-12-05 10:00:20 +01:00
|
|
|
[config] double update_interval {
|
|
|
|
default {{{ return 15; }}}
|
|
|
|
};
|
2013-10-26 09:41:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|