Alexandros Kosiaris has uploaded a new change for review. https://gerrit.wikimedia.org/r/315510
Change subject: facilities: Unexported nagios host and services ...................................................................... facilities: Unexported nagios host and services No reason to have these as exported resources. They can be instantiated directly on the icinga hosts without going through the storedconfigs mechanism. Pass the exported parameter as false Change-Id: Ifd847c5fb76a791e19f0acf135311c6d9f7ef734 --- M modules/facilities/manifests/monitor_pdu_3phase.pp M modules/facilities/manifests/monitor_pdu_service.pp 2 files changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/10/315510/1 diff --git a/modules/facilities/manifests/monitor_pdu_3phase.pp b/modules/facilities/manifests/monitor_pdu_3phase.pp index 64fe0c2..a32e92e 100644 --- a/modules/facilities/manifests/monitor_pdu_3phase.pp +++ b/modules/facilities/manifests/monitor_pdu_3phase.pp @@ -5,6 +5,7 @@ ) { @monitoring::host { $title: ip_address => $ip, + exported => false, group => 'pdus', } diff --git a/modules/facilities/manifests/monitor_pdu_service.pp b/modules/facilities/manifests/monitor_pdu_service.pp index 273f0b2..c5fadd5 100644 --- a/modules/facilities/manifests/monitor_pdu_service.pp +++ b/modules/facilities/manifests/monitor_pdu_service.pp @@ -30,6 +30,7 @@ @monitoring::service { $title: host => $host, group => 'pdus', + exported => false, description => $title, check_command => "check_snmp_generic!${passwords::nagios::snmp::pdu_snmp_pass}!${oid}!${title}!${warn_hi}!${crit_hi}", } -- To view, visit https://gerrit.wikimedia.org/r/315510 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ifd847c5fb76a791e19f0acf135311c6d9f7ef734 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits