mirror of https://github.com/Icinga/icinga2.git
18 lines
380 B
Plaintext
18 lines
380 B
Plaintext
#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"; }}}
|
|
};
|
|
};
|
|
|
|
}
|