Skip to content

Commit

Permalink
Images 600px on 100% width for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnet committed Sep 9, 2021
1 parent e0c1b2c commit 77da155
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ Now you can create your own alarm rules in Check_MK.

First create a clone of your existing mail notification rule

<img src="images/global_notification_rules_create_clone_v2.png" alt="Create clone" width="600"/>
<img src="images/global_notification_rules_create_clone_v2.png" alt="Create clone" width="100%"/>

* Change the description (e.g. Notify all contacts of a host/service via Telegram)
* The notification method is "Push Notification (by Telegram)"
* Select option "Call with the following parameters:"
* As the first parameter we set the Telegram token ID (without bot-prefix)
* The second parameter is the Telegram Chat-ID or Telegram Group-ID

<img src="images/create_new_notification_rule_for_telegram_v2.png" alt="Adjust settings" width="600"/>
<img src="images/create_new_notification_rule_for_telegram_v2.png" alt="Adjust settings" width="100%"/>

### CHECK_MK VERSION 1.6.0
Now you can create your own alarm rules in Check_MK.
Expand All @@ -88,19 +88,19 @@ Now you can create your own alarm rules in Check_MK.

First create a clone of your existing mail notification rule

<img src="images/global_notification_rules_create_clone.png" alt="Create clone" width="600"/>
<img src="images/global_notification_rules_create_clone.png" alt="Create clone" width="100%"/>

* Change the description (e.g. Notify all contacts of a host/service via Telegram)
* The notification method is "Push Notification (by Telegram)"
* Select option "Call with the following parameters:"
* As the first parameter we set the Telegram token ID (without bot-prefix)
* The second parameter is the Telegram Chat-ID or Telegram Group-ID

<img src="images/create_new_notification_rule_for_telegram.png" alt="Adjust settings" width="600"/>
<img src="images/create_new_notification_rule_for_telegram.png" alt="Adjust settings" width="100%"/>

If everything was ok, you will see your new Notification Rule afterwards

<img src="images/notification_configuration_change.png" alt="Final result" width="600"/>
<img src="images/notification_configuration_change.png" alt="Final result" width="100%"/>

### ACTIVATE CHANGES
To activate it you have to press "1 Change" and "Activate affected"
Expand All @@ -123,7 +123,7 @@ The current version of this script allows you to optionally enable IP anonymizat

The activation of the privacy settings is realized directly in the Notification Rules in Check_MK by NOTIFY_PARAMETER_3, here the value "privacy" has to be entered:

<img src="images/notification_rule_modify_privacy.png" alt="Enable privacy settings" width="600"/>
<img src="images/notification_rule_modify_privacy.png" alt="Enable privacy settings" width="100%"/>

There are certainly different requirements for privacy and masquerading of IP addresses. In the script, the IPv4 IP address is split into the 4 octets, the IPv6 address into the 8 columns. This allows to control __very individually__ which parts of the addresses are sent via Telegram and which are not. Both, placeholders and manipulations are basically possible here.

Expand Down Expand Up @@ -152,9 +152,8 @@ fi
## TROUBLESHOOTING
For more details and troubleshooting with parameters please check:

[Check_MK Manual > Notifications > Chapter: 11.3. A simple example](https://docs.checkmk.com/latest/en/notifications.html#H1:Real)

[[Feature-Request] Multiple Alert Profiles](https://github.com/filipnet/checkmk-telegram-notify/issues/3)
* [Check_MK Manual > Notifications > Chapter: 11.3. A simple example](https://docs.checkmk.com/latest/en/notifications.html#H1:Real)
* [[Feature-Request] Multiple Alert Profiles](https://github.com/filipnet/checkmk-telegram-notify/issues/3)

## CONTRIBUTIONS
* Thank you for the excellent code optimization contributions and additional information [ThomasKaiser](https://github.com/ThomasKaiser).
Expand Down

0 comments on commit 77da155

Please sign in to comment.