mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
18 lines
334 B
Plaintext
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; }}}
|
|
};
|
|
};
|
|
|
|
}
|