icinga2/lib/icinga/dependency.ti

33 lines
648 B
Plaintext
Raw Normal View History

#include "base/dynamicobject.h"
2014-04-03 15:36:13 +02:00
#include "icinga/checkable.h"
namespace icinga
{
code {{{
class I2_ICINGA_API DependencyNameComposer : public NameComposer
{
public:
virtual String MakeName(const String& shortName, const Dictionary::Ptr props) const;
};
}}}
class Dependency : DynamicObject < 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;
};
}