filipnet / checkmk-telegram-notify Goto Github PK
View Code? Open in Web Editor NEWGet alerted by Check_MK via Telegram bash script
Home Page: https://www.filipnet.de/checkmk-telegram-notify
License: BSD 3-Clause "New" or "Revised" License
Get alerted by Check_MK via Telegram bash script
Home Page: https://www.filipnet.de/checkmk-telegram-notify
License: BSD 3-Clause "New" or "Revised" License
Hello and good morning,
after updating cmk only shows one instead of three form fields for parameter configuration. may you can have a look at, thanks in advance
Hi -
Thanks for this script. It works great. Quick question though, how would one go about utilising the script for multiple different alert Groups in Telegram? Clone the script and change reference to an individualised config.xml file?
Is it somehow possible to send a notification to a specific topic of a telegram group, that has enabled the new "topic" feature?
See: https://telegram.org/blog/topics-in-groups-collectible-usernames
I noticed spooler failed notifications because the script was unable to send any message.
I see that the script echoes some messages as well as the telegram reponse to stderr. Where is this then being recognized?
If no where, I would suggest that the script redirects any error to a log inside the site's tmp folder..?
Hi,
Script is working. I have created a bot and a group. So I moved bot to this group and added token+group id to the conf file.
My issue is, I got every notification in the group 3 times. All notifications are coming in 3 times one after one.
Do you have any idea what should cause this?
Thanks.
Hi,
I need your advice why i can't send the notif using this plugin.
I refer to these instructions https://github.com/filipnet/checkmk-telegram-notify and https://checkmk.com/blog/checkmk-notifications-via-telegram however when i try to send test notifiictation,its not send anything
https://pasteboard.co/VAPkehWiIjj5.png
https://pasteboard.co/p52fZV5dIPU4.png
omd version
OMD - Open Monitoring Distribution Version 2.1.0p18.cfe
Thanks in advance
I was taking a look at the notify log and notice this warning/error:
check_mk_telegram-notify.sh: line 29: [: =: unary operator expected
Line 29 is this:
if [ ${NOTIFY_PARAMETER_3} = "privacy" ]; then
I fix it with (like you did on line 63):
if [[ ${NOTIFY_PARAMETER_3} == "privacy" ]]; then
hope it helps.
bye
Hi,
for the script to work, i need to put any user in the contact group "all".
It works fine if there is only 1 user in the contact group, however if i add more users into the contact group, the more i add, the more messages will be sent. For example 3 users = 3 messages (duplicates)
how is this supposed to be configured correctly?
greetings and thanks
Jascha
Hi !
Script is working but it looks like delayed notification option is totally ignored and notifications are send immediately. Is there a way to make the delay work again?
Thanks.
Hi
I'm using Checkmk version 2.2.0. I copied the mail notification rule and i choosed "Push Notification (using Telegram)". I see only one field for entering the parameters of the bot. Your screenshot shows three input boxes.
Any idea what is going on?
Thanks!
Martin
Hi,
can you please update your script and instructions to Check_mk version 2.0.0.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.