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] String check;
|
|
|
|
[config, protected] Dictionary::Ptr services (ServiceDescriptions);
|
2014-02-27 11:05:55 +01:00
|
|
|
[config] Dictionary::Ptr dependencies (DependencyDescriptions);
|
2013-10-26 09:41:45 +02:00
|
|
|
};
|
|
|
|
|
2013-10-30 09:55:00 +01:00
|
|
|
}
|