icinga2/lib/icinga/host.ti

23 lines
312 B
Plaintext
Raw Normal View History

2014-04-03 15:36:13 +02:00
#include "icinga/checkable.h"
#include "icinga/customvarobject.h"
2013-10-26 09:41:45 +02:00
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 {
get {{{
if (m_DisplayName.IsEmpty())
return GetName();
else
return m_DisplayName;
}}}
2013-10-26 09:41:45 +02:00
};
[config] String address;
[config] String address6;
2013-10-26 09:41:45 +02:00
};
}