icinga2/lib/icinga/icingastatuswriter.ti

18 lines
334 B
Plaintext
Raw Normal View History

2014-05-25 16:23:35 +02:00
#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; }}}
};
};
}