Home

Awesome

scouter-plugin-server-alert-telegram

Scouter server plugin to send a alert via telegram

Properties (스카우터 서버 설치 경로 하위의 conf/scouter.conf)

# External Interface (Telegram)
ext_plugin_telegram_send_alert=true
ext_plugin_telegram_debug=true
ext_plugin_telegram_level=0
ext_plugin_telegram_bot_token=185780011:AAGVaPyWCoZ8y1mHZEK1jFmbLwpcjlsJoJY
ext_plugin_telegram_chat_id=@ScouterDemoChannel

ext_plugin_elapsed_time_threshold=5000
ext_plugin_gc_time_threshold=5000
ext_plugin_thread_count_threshold=300

ext_plugin_ignore_name_patterns=myTomcat1
ext_plugin_ignore_title_patterns=Elapsed,CONNECTION,activat*
ext_plugin_ignore_message_patterns=*(/v1/common/user/testuser)*
ext_plugin_ignore_continuous_dup_alert=true

Dependencies

Build & Deploy

Requirement

Appendix

Telegram 데모 채널
Telegram Bot 생성
<img src="./img/bot1.png" width="400">
<img src="./img/bot2.png" width="400">
<img src="./img/bot3.png" width="400">
Telegram chat_id 조회
<img src="./img/bot4.png" width="400">
<img src="./img/bot5.png" width="400"> <img src="./img/bot6.png" width="400">
<img src="./img/bot7.png" width="700">
<img src="./img/bot8.png" width="700"> <img src="./img/bot9.png" width="400">