icinga2/components/compat/statusdatawriter.ti

21 lines
448 B
Plaintext
Raw Normal View History

2013-10-26 09:41:45 +02:00
#include "base/dynamicobject.h"
#include "base/application.h"
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; }}}
};
2013-10-26 09:41:45 +02:00
};
}