Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/349259 )

Change subject: nagios_common: add IRC notifications for #wikimedia-fundraising
......................................................................


nagios_common: add IRC notifications for #wikimedia-fundraising

Add the special irc-fundraising Icinga contact to both existing
Fundraising contact groups.

So all notifications going to either of these groups will be
shown on the #wikimedia-fundraising on IRC by icinga-wm.

This contact uses a custom notification command which makes
it write to a logfile. (private repo)

Configure the IRC bot to read the new logfile and output it
to the Fundraising channel.

Bug: T163368
Change-Id: I84f40a4bd6d2145f576511dc1a508348bd44da1e
---
M modules/icinga/manifests/ircbot.pp
M modules/nagios_common/files/contactgroups.cfg
2 files changed, 3 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/icinga/manifests/ircbot.pp 
b/modules/icinga/manifests/ircbot.pp
index be0151b..3a8844f 100644
--- a/modules/icinga/manifests/ircbot.pp
+++ b/modules/icinga/manifests/ircbot.pp
@@ -14,6 +14,7 @@
             '/var/log/icinga/irc-ores.log'        => '#wikimedia-ai',
             '/var/log/icinga/irc-interactive.log' => '#wikimedia-interactive',
             '/var/log/icinga/irc-performance.log' => '#wikimedia-perf-bots',
+            '/var/log/icinga/irc-fundraising.log' => '#wikimedia-fundraising',
         }
         $ircecho_nick   = 'icinga-wm'
         $ircecho_server = 'chat.freenode.net'
diff --git a/modules/nagios_common/files/contactgroups.cfg 
b/modules/nagios_common/files/contactgroups.cfg
index dcff78d..5ccbaba 100644
--- a/modules/nagios_common/files/contactgroups.cfg
+++ b/modules/nagios_common/files/contactgroups.cfg
@@ -21,12 +21,12 @@
 
 define contactgroup {
     contactgroup_name   fr-tech
-    members             
team-fr-tech,andyrussg,awight,xenoryet,eileen,ejegg,khorn
+    members             
team-fr-tech,andyrussg,awight,xenoryet,eileen,ejegg,khorn,irc-fundraising
 }
 
 define contactgroup {
     contactgroup_name   fr-tech-ops
-    members             team-fr-tech-ops,jgreen,cdentinger
+    members             team-fr-tech-ops,jgreen,cdentinger,irc-fundraising
 }
 
 define contactgroup {

-- 
To view, visit https://gerrit.wikimedia.org/r/349259
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I84f40a4bd6d2145f576511dc1a508348bd44da1e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Cmjohnson <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Jgreen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to