Simple IRC Bot statusing icinga2 via its API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
François Poulain c24e52a788 fix(fetch): évite le spammer trop le chan en cas d innacessibilité de l api 11 months ago
.gitignore ajoute le gitignore 2 years ago
COPYING ajout de la licence 2 years ago
LICENSE ajout de la licence 2 years ago
README.md doc(readme): corrige une coquillette 1 year ago
icingabot.conf ajout de la conf 2 years ago
icingabot.py fix(fetch): évite le spammer trop le chan en cas d innacessibilité de l api 11 months ago
icingabot.service ajout de la conf systemd 2 years ago

README.md

Icinga Bot

Simple IRC Bot statusing icinga2 via its API.

Table of content

Installation

Requirements

On a Debian-based host - running at least Debian Stretch, you will need the following packages:

  • git (recommended for getting the source)
  • python3
  • python3-irc
  • python3-requests

Manual installation

  1. Clone repo in /srv/

    $ cd /srv && git clone https://forge.april.org/adminsys/icingabot
    $ chmod a+x icingabot/icingabot.py
    
  2. Install the configuration in etc

    $ mkdir /etc/icingabot
    $ cp icingabot/icingabot.conf /etc/icingabot/
    
  3. Configure the application

    $ $EDITOR /etc/icingabot/icingabot.conf
    
  4. Try it

    $ ./icingabot/icingabot.py
    
  5. Install a launcher

    $ cp icingabot/icingabot.service /etc/systemd/system/
    
  6. Start it

    $ systemctl start icingabot
    

License

Icinga Bot is developed by April and licensed under the AGPLv3+.