Mark Bergsma has submitted this change and it was merged.
Change subject: Provide Torrus with the (specific) SNMP community used for
codfw PDUs
......................................................................
Provide Torrus with the (specific) SNMP community used for codfw PDUs
Change-Id: Ia566f325d2990409e531597c0ae54a7fe11f6980
---
M modules/torrus/files/xmlconfig/power.xml
M modules/torrus/templates/site-global.xml.erb
2 files changed, 6 insertions(+), 0 deletions(-)
Approvals:
Mark Bergsma: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/torrus/files/xmlconfig/power.xml
b/modules/torrus/files/xmlconfig/power.xml
index 23b9ca0..77a447c 100644
--- a/modules/torrus/files/xmlconfig/power.xml
+++ b/modules/torrus/files/xmlconfig/power.xml
@@ -2795,6 +2795,8 @@
</subtree>
<subtree name="codfw">
+ <apply-template name="codfw-pdus"/>
+
<subtree name="ps1-a1-codfw">
<param name="system-id"
value="ps1-a1-codfw"/>
<param name="data-dir"
value="/var/lib/torrus/collector_rrd"/>
diff --git a/modules/torrus/templates/site-global.xml.erb
b/modules/torrus/templates/site-global.xml.erb
index a9ab9f0..2ceb60f 100644
--- a/modules/torrus/templates/site-global.xml.erb
+++ b/modules/torrus/templates/site-global.xml.erb
@@ -30,6 +30,10 @@
last24h-small,last24h,lastweek,lastmonth,lastyear
</param>
+ <template name="codfw-pdus">
+ <param name="snmp-community" value="<%=
scope.lookupvar("passwords::network::snmp_ro_community_pdus_codfw") %>"/>
+ </template>
+
</datasources>
<views>
--
To view, visit https://gerrit.wikimedia.org/r/286447
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia566f325d2990409e531597c0ae54a7fe11f6980
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>
Gerrit-Reviewer: Mark Bergsma <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits