Skip to content

Commit f9f500d

Browse files
committed
New version 0.2.0 release
* updated CHANGELOG * added icinga2 logo file * added detailed command info to README
1 parent 03faf43 commit f9f500d

4 files changed

Lines changed: 30 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
# Changelog
22

3-
[0.1.0](https://github.com/https://github.com/bb-Ricardo/icinga-slack-bot/tree/0.1.0) (2019-07-0) *Initial Release*
3+
[0.2.0](https://github.com/https://github.com/bb-Ricardo/icinga-slack-bot/tree/0.2.0) (2019-11-16) *Actions Arrived*
4+
5+
**Features:**
6+
* Added action to acknowledge problematic hosts/services [#1](https://github.com/bb-Ricardo/icinga-slack-bot/issues/1)
7+
* Added action to set a downtime for hosts/services [#4](https://github.com/bb-Ricardo/icinga-slack-bot/issues/4)
8+
* Added a status overview command [#2](https://github.com/bb-Ricardo/icinga-slack-bot/issues/2)
9+
* Added Dockerfile [#3](https://github.com/bb-Ricardo/icinga-slack-bot/issues/3)
10+
* Added Icinga status command [#5](https://github.com/bb-Ricardo/icinga-slack-bot/issues/5)
11+
* Added config option to limit max returned results [#7](https://github.com/bb-Ricardo/icinga-slack-bot/issues/7)
12+
* 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)
13+
* 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)
14+
* Added a more detailed help, help can be called for each command [#9](https://github.com/bb-Ricardo/icinga-slack-bot/issues/9)
15+
16+
**Bug fixes:**
17+
* host state not reporting hosts in NOT UP state while running default query [#15](https://github.com/bb-Ricardo/icinga-slack-bot/issues/15)
18+
19+
**Internal:**
20+
* Splitted code into modules [#12](https://github.com/bb-Ricardo/icinga-slack-bot/issues/12)
21+
22+
23+
[0.1.0](https://github.com/https://github.com/bb-Ricardo/icinga-slack-bot/tree/0.1.0) (2019-07-03) *Initial Release*
424

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

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ For further details check the [Icinga2 API documentation](https://icinga.com/doc
9393

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

9899
## Configuration
99100
icinga-slack-bot comes with a default [config file](icinga-bot.ini.sample)
@@ -109,7 +110,7 @@ It can be used to interact with Icinga2 from your Slack client. It uses the
109110
Icinga2 API to get Host/Service status details. Simple status filters can be
110111
used to narrow down the returned status list.
111112
112-
Version: 0.1.0 (2019-07-03)
113+
Version: 0.2.0 (2019-11-16)
113114
114115
optional arguments:
115116
-h, --help show this help message and exit
@@ -143,6 +144,9 @@ Following commands are currently implemented:
143144
* icinga status (is)
144145
>print current Icinga status details
145146
147+
### Help command
148+
Each command also provides a detailed help `help <command>`
149+
146150
### Command status filter
147151
Following command filters are implemented
148152
* host status

contrib/icinga2_logo.png

11.9 KB
Loading

icinga-bot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
from i2_slack_modules import slack_max_message_blocks, slack_max_message_text_length
4444

4545

46-
__version__ = "0.1.0"
47-
__version_date__ = "2019-07-03"
46+
__version__ = "0.2.0"
47+
__version_date__ = "2019-11-16"
4848
__author__ = "Ricardo Bartels <ricardo@bitchbrothers.com>"
49-
__description__ = "Icinga2 Slack bot"
49+
__description__ = "Icinga2 Slack Bot"
5050
__license__ = "MIT"
5151
__url__ = "https://github.com/bb-Ricardo/icinga-slack-bot"
5252

0 commit comments

Comments
 (0)