Category5.TV Community Forum
[solved] webhooks on 1.5 build 6 - Printable Version

+- Category5.TV Community Forum (https://forum.category5.tv)
+-- Forum: NEMS - Nagios Enterprise Monitoring Server (https://forum.category5.tv/forum-8.html)
+--- Forum: Help and Support (https://forum.category5.tv/forum-9.html)
+--- Thread: [solved] webhooks on 1.5 build 6 (/thread-460.html)

Pages: 1 2


[solved] webhooks on 1.5 build 6 - stealth81 - 03-12-2019

Hello,

I created the connector in Teams for the webhooks and pasted URL into NEMS but how do I actually activate the push?
  • Platform RPi 3b+

  • NEMS Linux 1.5

  • NEMS Build 6

I'm a bit lost.

Thank you


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-12-2019

Webhooks are a part of the NEMS Warning Light software. You don't need to do anything more than paste the webhook URL. If the webhook works, it'll simply start working.

Let me know if you have any issues. I've only tested the feature with Discord.

Robbie


RE: webhooks on 1.5 build 6 - stealth81 - 03-12-2019

Thanks, Robbie,

I put in the URL for MS Teams but have not received any notifications.

I have d,u,r,f,s in the notification section of the host.

Thanks!


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-13-2019

As mentioned, I only tested webhooks with Discord, so we may need to make sure the webhook is compatible. I am unfamiliar with MS Teams.

I'm happy to make it work for you - but will need to work with you to test since I don't have any way of testing it.

Discord was great because they have webhook documentation well detailed. Can you help me test?


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-13-2019

I found this, which looks like better docs: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/connectors/connectors-using

I signed up for Teams.

I created a team.

I don't see the Connectors option next to my channel (General)...

Still trying.


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-13-2019

Oh, searching for "External" helped me find the webook app, which I'm now installing to my team...


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-13-2019

Typical Microsoft Product:

Something went wrong.
We can't find that group. It may have been deleted. Please verify whether the group exists.


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-13-2019

Here's as far as I can get: https://youtu.be/u6xsQEZ-esE


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-13-2019

Oh phew... after that ridiculously pathetic setup experience, it is in fact working now.

"Category5 Technology TV has set up a connection to Incoming Webhook so group members will be notified for this configuration with name Test"


RE: webhooks on 1.5 build 6 - Robbie Ferguson - 03-13-2019

Alright, I've confirmed MS Teams is using a different webhook format than Discord... https://docs.microsoft.com/en-us/outlook/actionable-messages/send-via-connectors ... so I'll release a new feature in NEMS SST to allow you to select the webhook version (Discord / MS Office 365). It may take me a week or so to program it.