Fix Nagios service names for GSEs
Change-Id: If62ee95acda21eb9979b65b071626a2ed257fd79
This commit is contained in:
parent
c3daf0333f
commit
58ebfac2a4
|
@ -51,6 +51,6 @@ define lma_infra_alerting::nagios::vhost_cluster_status(
|
|||
hostname => $hostname,
|
||||
notifications_enabled => $notifications_enabled,
|
||||
contact_group => $contact_group,
|
||||
services => prefix($services, "${title} "),
|
||||
services => prefix($services, "${title}-"),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,8 +28,8 @@ describe 'lma_infra_alerting::nagios::vhost_cluster_status' do
|
|||
describe 'with 2 services' do
|
||||
it { should contain_nagios__host('foohost') }
|
||||
it { should contain_lma_infra_alerting__nagios__services('footitle for foohost') }
|
||||
it { should contain_nagios__service('footitle a') }
|
||||
it { should contain_nagios__service('footitle b') }
|
||||
it { should contain_nagios__service('footitle-a') }
|
||||
it { should contain_nagios__service('footitle-b') }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue