This script written in PHP by the Byteworks team can run on-box with an Observium Network Monitoring Server somewhere in the web path (Ex. ../html/…) and Observium can call the script as a Webhook contact for alerting. When Observium posts a JSON alert notification, the script will decode the payload and post the alert details to a designated Cisco Webex Teams Space.
You will need a valid Cisco Webex Teams AccessToken (Ex. Webex Teams Bot) and the “roomId” of the space you wish to post the alerts to. Whomever the AccessToken belongs to (a user or bot), that account must be a member in the space that you wish to post alerts to.
The Observium Webex plugin: https://github.com/ryanthuff/Observium_Webex_Notifier
The Observium Network Monitoring Server (NMS): https://observium.org