Git Product home page Git Product logo

checkmk-telegram-notify's People

Contributors

eworm-de avatar filipnet avatar progamernoob avatar reduxionist avatar thomaskaiser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

checkmk-telegram-notify's Issues

[Feature-Request] Multiple Alert Profiles

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?

Store any errors somewhere

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..?

Multiple notifications

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.

little warning on line 29, fixed

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

Multiple notifications

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

Service notification delay not working

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.

Setting up Push Notfication

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.