Checkmk telegram: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
=Telegram Notifications Plugin= | =Telegram Notifications Plugin= | ||
− | * | + | *https://github.com/filipnet/checkmk-telegram-notify |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=CheckMK User config= | =CheckMK User config= | ||
Zeile 122: | Zeile 8: | ||
<pre> | <pre> | ||
{"ok":true,"result":[{"update_id":549458535, | {"ok":true,"result":[{"update_id":549458535, | ||
− | "message":{"message_id":1,"from":{"id": | + | "message":{"message_id":1,"from":{"id":374629384,"is_bot":false,"first_name":"Max","language_code":"de"},"chat":{"id":'374629384,"first_name":"Max","type":"private"},"date":1590572783,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}]} |
</pre> | </pre> | ||
+ | |||
+ | ChatID: 374629384 | ||
+ | |||
==user conf== | ==user conf== | ||
*Users -> edit desired User | *Users -> edit desired User | ||
*Add telegram chatid in the Pager address | *Add telegram chatid in the Pager address | ||
[[Datei:cmk_user_telegram.png]] | [[Datei:cmk_user_telegram.png]] |
Aktuelle Version vom 24. August 2021, 10:02 Uhr
Telegram Notifications Plugin
CheckMK User config
get telegram chat id
- write the bot /start via telegram
- https://api.telegram.org/bot[HTTP-TOKEN]/getUpdates
{"ok":true,"result":[{"update_id":549458535, "message":{"message_id":1,"from":{"id":374629384,"is_bot":false,"first_name":"Max","language_code":"de"},"chat":{"id":'374629384,"first_name":"Max","type":"private"},"date":1590572783,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}]}
ChatID: 374629384
user conf
- Users -> edit desired User
- Add telegram chatid in the Pager address