Page MenuHomePhabricator

setup IRC log relay on deployment-dbdump
Closed, ResolvedPublic

Description

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

}


Version: unspecified
Severity: normal

Details

Reference
bz37077

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:30 AM
bzimport set Reference to bz37077.
bzimport added a subscriber: Unknown Object (MLST).

I have set it up on deployment-dbdump using the Nova admin interface:

Class [misc::ircecho]

ircecho_chans Cloud-Services
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.