Skip to content

Service Chat bots

Burke Mamlin edited this page Aug 16, 2020 · 30 revisions

Check Cloud-Service-Chat-bots for our Cloud Chat Bots

Check https://wiki.openmrs.org/x/vAMjAw for more details on bots

Supybot IRC Bot

User: @OpenMRSBot

The IRC bot runs on OSUOSL infrastructure. We have sudo access, and we can edit and restart this bot.

This bot does a lot of things, including parsing some RSS into IRC.

To edit its configuration:

sudo vi /data/openmrs/supybot/OpenMRSBot.conf
sudo systemctl reload limnoria
sudo systemctl restart limnoria

Note that this machine is mostly maintained by Chef. ITSM-4143 to move to Jetstream.

Some generated docs and conf

IRC/Telegram/Slack Bridge

We use the docker image for matterbridge running on mokolo. This replicates messages between IRC, Telegram, and the general chat on Slack. Messages from travis-ci or automatic short-link generation within IRC are suppressed to avoid noise (especially in Slack).

It's fully automated via ansible and changes can be made via PRs at openmrs-contrib-ansible-docker-compose.

Restart

# cd /root/docker/matterbridge/
# docker-compose restart

Check logs

# cd/ root/docker/matterbridge/
# docker-compose logs matterbridge

IRC

Nick: omrsbridge Verified using infrastructure+irc email

Telegram

Bot: @omrsbridge_bot (created & managed via BotFather) Owner: OpenMRS_Admin (linked to OpenMRS Google Voice number)

Slack

App: omrsbridge (created using this instructions)

Scrum Bot

User: @omrs-scrum-bot

  • This is a digitalocean box of Darius’s, and he has credentials). Pascal should have credentials too.
  • occasionally this bot crashes and needs to be restarted (we haven’t debugged why, or prioritized this)
  • to (re)start: ssh [email protected] and then ./update-web.sh
  • there are some discussions to move it to jetstream
[21:24] == omrs-scrum-bot [[email protected]]
[21:24] ==  realname : nodeJS IRC client
[21:24] ==  channels : #openmrs
[21:24] ==  server   : orwell.freenode.net [Amsterdam, NL, EU]
[21:24] == End of WHOIS
[21:24] == omrs-scrum-bot [[email protected]]
[21:24] ==  realname : nodeJS IRC client
[21:24] ==  channels : #openmrs
[21:24] ==  server   : orwell.freenode.net [Amsterdam, NL, EU]
[21:24] == End of WHOIS

https://github.com/djazayeri/openmrs-contrib-scrumbot

Clone this wiki locally