Microsoft Teams notification
-
Hi,
does someone have MS Teams notification working?
What I've done so far:- Created Webhook URL in Teams
- Configured notification channel (Attachment 1)
- Configured action (Attachment 2)
- Configured Event Policy to run action
I also have a Powershell script for testing the webhook notification. With the Powershell script it works.
When I raise the configured event in NetXMS I get no notification.Is there a logfile I can check if it does not? In the netxmsd.log there is only
2021.02.19 14:35:01.610 *I* [ncd.msteams ] Microsoft Teams driver instantiatedThanks
Stefan


-
Enable level 6 debugging for tag ncd.msteams and check server log (after attempt to send).
You can change debug level in runtime with
nxadm -c "debug ncd.msteams 6" -
I just got this working yesterday, at least through a script, and found this NXSL command helpful:
SendNotification("Notification Channel", "Channel", "text", "text2");
In your case, this would be:
SendNotification("Teams Notification", "NetXMS", "does this work?", "Yup!");
I ran it manually through "Execute server script". Worked great.
I haven't tried it as an actual event notification yet.
-zeb
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login