Logmsgbot
Appearance
logmsgbot is udprec piped into ircecho. It outputs !log
messages to IRC. These and other (manual) !log
messages are read by Stashbot and saved to Server Admin Log.
Set up
Logmsgbot is provisioned via the Puppet class profile::tcpircbot
which configures the tcpircbot class. In Wikimedia's production cluster, these Puppet classes are applied to alert1001/alert2001 and files are in /srv/tcpircbot/.
Restart
Since the Icinga servers are on stretch, it's now using systemd. The service name is "tcpircbot-logmsgbot" which might be a bit confusing.
systemctl status tcpircbot-logmsgbot systemctl restart tcpircbot-logmsgbot
See also
- Wikimedia binaries: Most of these scripts run
logmsgbot
.