Open colin-small opened 5 years ago
When I look at the log during a notification being triggered I see the python script being executed and exiting with a complaint that -s -n are required arguments. But I have them defined in the command (it matches your example)
I recreated everything and I no longer see the errors in the log about the arguments but nothing ever shows up in Teams. I know the webhook works because I used it with a Nagios perl based plugin and it showed up in Teams.
I am trying to use this with Icinga2 and Director.
I created the incoming webhook URL in Teams and populated the json file with it.
I modified the python script to use my path to python and made it executable.. it runs at the terminal and wants -s -n etc..
I created a command in Director for the python script and passed the path and added the fields and arguments so config wise (in the preview) it looked pretty much exactly like your example conf.
I created the notification template and notification and tied them to user groups (cloned the existing working email notifications I have configured and modified the command etc..)
I trigger notifications and nothing seems to ever hit Teams.
What could I be missing here?