icinga2/lib/icinga/icingastatuswriter.ti

18 lines
334 B
Plaintext

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