Array::Ptr Host::GetGroups(void) const
{
- return m_HostGroups;
+ return m_Groups;
}
Dictionary::Ptr Host::GetMacros(void) const
if (attributeTypes & Attribute_Config) {
bag->Set("display_name", m_DisplayName);
- bag->Set("hostgroups", m_HostGroups);
+ bag->Set("groups", m_Groups);
bag->Set("macros", m_Macros);
bag->Set("hostdependencies", m_HostDependencies);
bag->Set("servicedependencies", m_ServiceDependencies);
if (attributeTypes & Attribute_Config) {
m_DisplayName = bag->Get("display_name");
- m_HostGroups = bag->Get("hostgroups");
+ m_Groups = bag->Get("groups");
m_Macros = bag->Get("macros");
m_HostDependencies = bag->Get("hostdependencies");
m_ServiceDependencies = bag->Get("servicedependencies");
private:
String m_DisplayName;
- Array::Ptr m_HostGroups;
+ Array::Ptr m_Groups;
Dictionary::Ptr m_Macros;
Array::Ptr m_HostDependencies;
Array::Ptr m_ServiceDependencies;
type Host {
%attribute string "display_name",
- %attribute string "hostcheck",
- %attribute array "hostgroups" {
+ %attribute string "check",
+ %attribute array "groups" {
%attribute name(HostGroup) "*"
},
%attribute array "hostdependencies" {