icinga2/lib/icinga/host.ti

25 lines
467 B
Plaintext
Raw Normal View History

2013-10-26 09:41:45 +02:00
#include "base/dynamicobject.h"
namespace icinga
{
class Host : DynamicObject
{
[config] String display_name {
get {{{
if (m_DisplayName.IsEmpty())
return GetName();
else
return m_DisplayName;
}}}
2013-10-26 09:41:45 +02:00
};
[config] Array::Ptr groups;
[config] Dictionary::Ptr macros;
[config] Array::Ptr host_dependencies;
[config] Array::Ptr service_dependencies;
[config] String check;
[config, protected] Dictionary::Ptr services (ServiceDescriptions);
};
}