You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Logmsgbot

From Wikitech-static
Jump to navigation Jump to search

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 icinga1001/icinga2001 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