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:
parent
1ee12ee900
commit
26e1cf03ba
|
@ -14,7 +14,7 @@
|
|||
# under the License.
|
||||
#
|
||||
define plugin_zabbix_monitoring_emc::emc_host(
|
||||
$host_group = 'EMC',
|
||||
$host_group = ['EMC', 'hardware'],
|
||||
) {
|
||||
|
||||
$host = split($name,':')
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
# under the License.
|
||||
#
|
||||
class plugin_zabbix_monitoring_emc(
|
||||
$host_group = 'EMC',
|
||||
$host_group = ['EMC','hardware'],
|
||||
)
|
||||
{
|
||||
|
||||
|
|
|
@ -42,6 +42,8 @@ class plugin_zabbix_monitoring_emc::snmptt_config {
|
|||
service { 'snmptt':
|
||||
ensure => running,
|
||||
enable => true,
|
||||
hasstatus => false,
|
||||
status => 'pgrep snmptt',
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue