Logmsgbot

From Wikitech
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 role::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