Add an additional host group and fix issue with snmptt restarting
Change-Id: I05676337416def4533614af9dd50b9afbb83a241 Closes-Bug: #1480335 Closes-Bug: #1480158
This commit is contained in:
parent
4e73ec9f29
commit
faa85abf8f
|
@ -14,7 +14,7 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
||||||
define plugin_zabbix_monitoring_emc::emc_host(
|
define plugin_zabbix_monitoring_emc::emc_host(
|
||||||
$host_group = 'EMC',
|
$host_group = ['EMC', 'Hardware'],
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$host = split($name,':')
|
$host = split($name,':')
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
||||||
class plugin_zabbix_monitoring_emc(
|
class plugin_zabbix_monitoring_emc(
|
||||||
$host_group = 'EMC',
|
$host_group = ['EMC','Hardware'],
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@ class plugin_zabbix_monitoring_emc::snmptt_config {
|
||||||
service { 'snmptt':
|
service { 'snmptt':
|
||||||
ensure => running,
|
ensure => running,
|
||||||
enable => true,
|
enable => true,
|
||||||
|
hasstatus => false,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue