2013-10-26 09:41:45 +02:00
|
|
|
#include "base/dynamicobject.h"
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
class Host : DynamicObject
|
|
|
|
{
|
|
|
|
[config] String display_name {
|
2013-10-30 09:55:00 +01:00
|
|
|
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);
|
|
|
|
};
|
|
|
|
|
2013-10-30 09:55:00 +01:00
|
|
|
}
|