This bot uses Icinga2 remote API to fetch the status of the services & hosts running in icinga2
- Go >= 1.8.0
- Icinga2 with API feature enabled
To deploy your icinga2 bot to Slack, you need to:
- Create a new bot user integration on Slack and get your token
- Setup icinga2 credentials & slack token in config.toml file
- Execute
go run $(ls -1 *.go | grep -v _test.go)
$ git clone [email protected]:mlabouardy/icinga2-slack-bot.git
$ cd icinga2-slack-bot
$ docker build -t icinga2-bot .
$ docker run -d --name bot icinga2-bot
or just use the official DockerHub image:
$ docker run -d -v /PATH/TO/config.toml:/go/src/github/config.toml --name bot mlabouardy/icinga2-bot:slack
- All hosts status
- Single host status
- All services status
- Single service status
- Docker support
- Mohamed Labouardy