I am trying to get this plugin working with Icinga2/Director and I’m running into some difficulty. I posted for help in the Director forum trying to get it to work.
My question is, if I were to try and write my own plugin to send notifications to MS Teams, what would the high level process look like? I’m trying to map it all out and see if I can digest it/code it in chunks.
Would it be something like this?
create variables for arguments to be stored in for things like $host.name$ etc… and have the plugin accept strings for these arguments, then those variables would populate some sort of message that could then be used to make some sort of POST http request to the webhook?
I’m not a developer but I’m willing to give it a shot (I dabble a tiny bit in Go as a hobby)