Open aswath2saru opened 5 years ago
As mentioned I had followed, but not able to get alert to my Microsoft Teams. Is there anything am I missing ? Kindly help.
[root@uspllosplog01 conf.d]# cat microsoft.json { "handlers": { "default": { "type": "set", "handlers": [ "microsoft-teams" ] }, "microsoft-teams": { "type": "pipe", "command": "handler-microsoft-teams.rb", "severities": [ "ok", "warning", "critical", "unknown" ] } } }
[root@uspllosplog01 conf.d]# cat microsoft-teams.json { "microsoft-teams": { "webhook_url": "https://teams.microsoft.com/l/channel/XXXXXXXXXXX", "dashboard": "https://x.x.x.x/uchiwa", "action_type": "openuri", "action_name": "View in Sensu" } }
Is this still not working for you?
As mentioned I had followed, but not able to get alert to my Microsoft Teams. Is there anything am I missing ? Kindly help.
[root@uspllosplog01 conf.d]# cat microsoft.json { "handlers": { "default": { "type": "set", "handlers": [ "microsoft-teams" ] }, "microsoft-teams": { "type": "pipe", "command": "handler-microsoft-teams.rb", "severities": [ "ok", "warning", "critical", "unknown" ] } } }
[root@uspllosplog01 conf.d]# cat microsoft-teams.json { "microsoft-teams": { "webhook_url": "https://teams.microsoft.com/l/channel/XXXXXXXXXXX", "dashboard": "https://x.x.x.x/uchiwa", "action_type": "openuri", "action_name": "View in Sensu" } }