2014-04-03 15:36:13 +02:00
|
|
|
#include "icinga/checkable.h"
|
2013-10-26 09:41:45 +02:00
|
|
|
#include "base/dynamicobject.h"
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2014-04-03 15:36:13 +02:00
|
|
|
class Host : Checkable
|
2013-10-26 09:41:45 +02:00
|
|
|
{
|
|
|
|
[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
|
|
|
};
|
2014-04-08 13:23:24 +02:00
|
|
|
|
|
|
|
[config] String address;
|
|
|
|
[config] String address6;
|
2013-10-26 09:41:45 +02:00
|
|
|
};
|
|
|
|
|
2013-10-30 09:55:00 +01:00
|
|
|
}
|