Last modified: 2012-05-24 11:49:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39077, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37077 - setup IRC log relay on deployment-dbdump
setup IRC log relay on deployment-dbdump
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 37078
  Show dependency treegraph
 
Reported: 2012-05-24 10:41 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-05-24 11:49 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-24 10:41:29 UTC
On fenari, /var/log/logmsg is a file where dologmsg can write to and any content is then pushed to an IRC channel.

This need to be replicated on deployment-dbdump following the puppet configuration of fenari:


node "fenari.wikimedia.org" {
<snip<
  $ircecho_infile = "/var/log/logmsg"
  $ircecho_nick = "logmsgbot"
  $ircecho_chans = "#wikimedia-tech"
  $ircecho_server = "irc.freenode.net"

<snip>
 include     misc::ircecho

}
Comment 1 Antoine "hashar" Musso (WMF) 2012-05-24 10:58:23 UTC
Rewrote summary.
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-24 11:49:00 UTC
I have set it up on deployment-dbdump using the Nova admin interface:

Class [misc::ircecho]

ircecho_chans	#wikimedia-labs
ircecho_infile	/var/log/logmsg
ircecho_nick	beta-logmsgbot
ircecho_server	irc.freenode.net

I had to manually create the /var/log/logmsg files and I have tweaked its file permissions and ownerships.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links