icinga2/lib/icinga/dependency.ti

35 lines
695 B
Plaintext
Raw Normal View History

2014-05-25 16:23:35 +02:00
#include "icinga/customvarobject.hpp"
#include "icinga/checkable.hpp"
namespace icinga
{
code {{{
class I2_ICINGA_API DependencyNameComposer : public NameComposer
{
public:
virtual String MakeName(const String& shortName, const Dictionary::Ptr& props) const;
};
}}}
class Dependency : CustomVarObject < DependencyNameComposer
{
[config] String child_host_name;
[config] String child_service_name;
[config] String parent_host_name;
[config] String parent_service_name;
[config] String period (PeriodRaw);
[config] Array::Ptr states;
int state_filter_real (StateFilter);
[config] bool disable_checks;
[config] bool disable_notifications {
default {{{ return true; }}}
};
};
}