icinga2/lib/icinga/icingastatuswriter.ti

18 lines
324 B
Plaintext

#include "base/dynamicobject.h"
#include "base/application.h"
namespace icinga
{
class IcingaStatusWriter : DynamicObject
{
[config] String status_path {
default {{{ return Application::GetLocalStateDir() + "/cache/icinga2/status.json"; }}}
};
[config] double update_interval {
default {{{ return 15; }}}
};
};
}