Skip to content

Commit

Permalink
New version 0.2.0 release
Browse files Browse the repository at this point in the history
* updated CHANGELOG
* added icinga2 logo file
* added detailed command info to README
  • Loading branch information
bb-Ricardo committed Nov 16, 2019
1 parent 03faf43 commit f9f500d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
24 changes: 21 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
# Changelog

[0.1.0](https://github.com/https://github.com/bb-Ricardo/icinga-slack-bot/tree/0.1.0) (2019-07-0) *Initial Release*
[0.2.0](https://github.com/https://github.com/bb-Ricardo/icinga-slack-bot/tree/0.2.0) (2019-11-16) *Actions Arrived*

**Features:**
* Added action to acknowledge problematic hosts/services [#1](https://github.com/bb-Ricardo/icinga-slack-bot/issues/1)
* Added action to set a downtime for hosts/services [#4](https://github.com/bb-Ricardo/icinga-slack-bot/issues/4)
* Added a status overview command [#2](https://github.com/bb-Ricardo/icinga-slack-bot/issues/2)
* Added Dockerfile [#3](https://github.com/bb-Ricardo/icinga-slack-bot/issues/3)
* Added Icinga status command [#5](https://github.com/bb-Ricardo/icinga-slack-bot/issues/5)
* Added config option to limit max returned results [#7](https://github.com/bb-Ricardo/icinga-slack-bot/issues/7)
* Handled hosts/services are not displayed any longer with default host/service status command [#6](https://github.com/bb-Ricardo/icinga-slack-bot/issues/6)
* Added filter option to config file to limit results to single hosts or host groups [#8](https://github.com/bb-Ricardo/icinga-slack-bot/issues/8)
* Added a more detailed help, help can be called for each command [#9](https://github.com/bb-Ricardo/icinga-slack-bot/issues/9)

**Bug fixes:**
* host state not reporting hosts in NOT UP state while running default query [#15](https://github.com/bb-Ricardo/icinga-slack-bot/issues/15)

**Internal:**
* Splitted code into modules [#12](https://github.com/bb-Ricardo/icinga-slack-bot/issues/12)


[0.1.0](https://github.com/https://github.com/bb-Ricardo/icinga-slack-bot/tree/0.1.0) (2019-07-03) *Initial Release*

**Road to Initial Release**
* check icinga connection
Expand All @@ -19,5 +39,3 @@
* add state change time to host and service status messages (detailed view)
* add fallback text to slack messages to display push messages
* use attachments to display bot commands


8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ For further details check the [Icinga2 API documentation](https://icinga.com/doc

### Get Slack Bot Token
[Here](https://www.fullstackpython.com/blog/build-first-slack-bot-python.html)
you can find a quick and helpful example on how to acquire a slack bot API token
you can find a quick and helpful example on how to acquire a slack bot API token.
You can also use [this](contrib/icinga2_logo.png) icon to represent the bot in Slack properly.

## Configuration
icinga-slack-bot comes with a default [config file](icinga-bot.ini.sample)
Expand All @@ -109,7 +110,7 @@ It can be used to interact with Icinga2 from your Slack client. It uses the
Icinga2 API to get Host/Service status details. Simple status filters can be
used to narrow down the returned status list.
Version: 0.1.0 (2019-07-03)
Version: 0.2.0 (2019-11-16)
optional arguments:
-h, --help show this help message and exit
Expand Down Expand Up @@ -143,6 +144,9 @@ Following commands are currently implemented:
* icinga status (is)
>print current Icinga status details
### Help command
Each command also provides a detailed help `help <command>`

### Command status filter
Following command filters are implemented
* host status
Expand Down
Binary file added contrib/icinga2_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions icinga-bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
from i2_slack_modules import slack_max_message_blocks, slack_max_message_text_length


__version__ = "0.1.0"
__version_date__ = "2019-07-03"
__version__ = "0.2.0"
__version_date__ = "2019-11-16"
__author__ = "Ricardo Bartels <[email protected]>"
__description__ = "Icinga2 Slack bot"
__description__ = "Icinga2 Slack Bot"
__license__ = "MIT"
__url__ = "https://github.com/bb-Ricardo/icinga-slack-bot"

Expand Down

0 comments on commit f9f500d

Please sign in to comment.