Skip to content

Service Chat bots

cintiadr edited this page Mar 22, 2019 · 30 revisions

Check Cloud-Service-Chat-bots for our Cloud Chat 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. https://wiki.openmrs.org/x/vAMjAw

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.

There was an attempt to dockerise it: PR-28

ITSM-4143

Telegram Bot

User: @TelegramBot9

The Telegram bot runs on Digital Ocean (ndu). It replicates the messages in IRC to Telegram.

The steps taken to create and configure this bot are in /root/README. From these instructions:

# cd /opt
# git clone https://github.com/FruitieX/teleirc
# cd teleirc
# docker build -t openmrs/teleirc extras
# docker run --name=teleirc-data \
    -v /var/teleirc:/home/teleirc/.teleirc \
    openmrs/teleirc echo 'data teleirc'
# docker run --rm --volumes-from=teleirc-data openmrs/teleirc teleirc --genconfig
# docker run --name=teleirc -p 9090:9090 \
    -d --restart=always --volumes-from=teleirc-data openmrs/teleirc

To restart if it stopped:

$ ssh ndu.openmrs.org
$ sudo su root -
# docker start teleirc

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