Logmsgbot

From Wikitech
Revision as of 01:08, 3 October 2012 by Krinkle (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

logmsgbot is udprec piped into ircecho. It outputs !log messages to IRC. These and other (manual) !log messages are read by morebots and saved to Server admin log.

Set up

There's a shell script in /home/wikipedia/bin/logmsgbot that looks like this:

/usr/local/bin/udprec 53412 0.0.0.0 | \
	/home/wikipedia/bin/ircecho '#wikimedia-operations' logmsgbot irc.freenode.net

It is running under a root screen on fenari, as nobody:

screen
su -s/bin/bash nobody
/home/wikipedia/bin/logmsgbot

See also

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox