Open-Future-Belgium / zabbix-Rocket.Chat

Integration between zabbix & Rocket.Chat
29 stars 19 forks source link

Token Rocket.Chat #5

Open Ditren opened 4 years ago

Ditren commented 4 years ago

I understand that the question is most likely stupid, but what kind of channel token is this? Where to find him? I tried using the webhook token, but that didn't work. Thanks in advance.

bagodah commented 4 years ago

Hi, same question for me, i can't find the channel token in rocketchat.

Trikke76 commented 4 years ago

Hi,

srry just back from holiday its possible that you need admin rights to view this token its generated when you create the channel i will have a look next week and try to create some screenshot

Trikke76 commented 4 years ago

just had a quick look i needs to be the hook url needs to look like this url='https://mattermost-url/hooks/7d4qdjsdfdsfafasfda71zw6545a' (not a real hook)

so you need to fill in the last part 7d4qdjsdfdsfafasfda71zw6545a

if you dont get any messages check the log file it is possible that you have special characters see https://github.com/Open-Future-Belgium/zabbix-Rocket.Chat/issues/4

deadmanIsARabbit commented 4 years ago

To clarify the issue: You need to create an Incoming Web-Hook (Administration->Integration->New Integration) There you will be able to define the channel and you will get the token at the bottom .