Add an additional host group and fix issue with snmptt restarting

Change-Id: I3b8c21709cf529b7b00f51ec7395ecd8fe8a9c67
Closes-Bug: #1480335
Closes-Bug: #1480158
This commit is contained in:
Piotr Misiak 2015-07-31 16:38:54 +02:00
parent 1ee12ee900
commit 26e1cf03ba
3 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,7 @@
# under the License.
#
define plugin_zabbix_monitoring_emc::emc_host(
$host_group = 'EMC',
$host_group = ['EMC', 'hardware'],
) {
$host = split($name,':')

View File

@ -14,7 +14,7 @@
# under the License.
#
class plugin_zabbix_monitoring_emc(
$host_group = 'EMC',
$host_group = ['EMC','hardware'],
)
{

View File

@ -42,6 +42,8 @@ class plugin_zabbix_monitoring_emc::snmptt_config {
service { 'snmptt':
ensure => running,
enable => true,
hasstatus => false,
status => 'pgrep snmptt',
}
}