Ad Widget

Collapse

Telegram Webhook

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Koldogut
    Junior Member
    • Jul 2023
    • 9

    #1

    Telegram Webhook

    After setting up according official documentation (https://www.zabbix.com/la/integrations/telegram) I always get same error below:

    Click image for larger version

Name:	image.png
Views:	1061
Size:	31.3 KB
ID:	467642

    I've checked many forums and no telegram ID nor firewall api-calling issues found, any clues? How could I debug this issue deeply? this is the most accurate info I can get when testing the Media Type:

    Code:
    00:00:00.000 [Debug] [Telegram Webhook] notification failed: TypeError: cannot read property 'toLowerCase' of undefined
    I'm running Zabix Server ver. 6.4 in a docker container with PostgreSQL database hosted in other docker container.

    Thanks in advance!
  • Koldogut
    Junior Member
    • Jul 2023
    • 9

    #2
    Please Experts, I need yor help!

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      If you test, do you give some content to your event? like message? Seems like it is trying to "lowercase" something that is undefined...

      Comment

      • Koldogut
        Junior Member
        • Jul 2023
        • 9

        #4
        No matter what I put, it always shows same error. Is there any way to get an extended log? Log link below provides same info

        Click image for larger version

Name:	image.png
Views:	965
Size:	28.3 KB
ID:	469387

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          If you look into script in media config, then you can see lines starting with "Zabbix.log(4....". If you change that 4 to 3, you should get a bit more data into server log. (https://www.zabbix.com/documentation...ver#debuglevel) .Or increase logging level of alerter process..(https://www.zabbix.com/documentation...untime-control)

          Comment

          Working...