mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Bugfix: host and source groups don't have display names.
This commit is contained in:
parent
962d0e5fb2
commit
f8851aa79d
@ -471,7 +471,6 @@ void CompatComponent::StatusTimerHandler(void)
|
||||
|
||||
objectfp << "define hostgroup {" << "\n"
|
||||
<< "\t" << "hostgroup_name" << "\t" << hg->GetName() << "\n"
|
||||
<< "\t" << "display_name" << "\t" << hg->GetDisplayName() << "\n"
|
||||
<< "\t" << "notes_url" << "\t" << hg->GetNotesUrl() << "\n"
|
||||
<< "\t" << "action_url" << "\t" << hg->GetActionUrl() << "\n";
|
||||
|
||||
@ -493,7 +492,6 @@ void CompatComponent::StatusTimerHandler(void)
|
||||
|
||||
objectfp << "define servicegroup {" << "\n"
|
||||
<< "\t" << "servicegroup_name" << "\t" << sg->GetName() << "\n"
|
||||
<< "\t" << "display_name" << "\t" << sg->GetDisplayName() << "\n"
|
||||
<< "\t" << "notes_url" << "\t" << sg->GetNotesUrl() << "\n"
|
||||
<< "\t" << "action_url" << "\t" << sg->GetActionUrl() << "\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user