So I recently asked this question…
https://next.nutanix.com/api-31/playbook-rest-api-post-teams-37756?postid=51764#post51764
I saw support for slack but no teams… I got to looking and sure enough API’s are available to call from within playbooks yipee!
Youll need to create an incoming web-hook in teams (google this if you dont have it setup).
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/341be178-0bda-4495-b971-8cee324d9e99.png)
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/53e6c5b4-0ca4-401f-83af-0f4060bdc3cf.png)
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/9c7503e8-dc14-4f38-a80c-b028b9b84e90.png)
Once you do that you now have a url which an be used to post messages to via script or whatever your flavor is.
In nutanix heres what i set
Prism Central
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/15306554-4477-4b82-abf3-24096dff9e11.png)
set a custom alert policy to 5-10% cpu so it would trigger a lot and selected my test vm
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/20cfe2d5-723c-43c7-94c2-f9f3f5741ffc.png)
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/fa22f935-5a3e-42c1-86fc-f6967c4e0952.png)
Result:
![](https://uploads-us-west-2.insided.com/nutanix-us/attachment/3c8f62e6-3d8b-46ef-8cca-058d74dde480.png)
Obviously this is my very fist time attempting this and I literally just figured it out but in the near future Id like to see if I can call the alert parameters, include useful information automatically e.g only alert on critical, and include the alert info.
Cheers!
Aidan