You can of course use your SMS Gateway to send alarms from Centreon via SMS.
It is recommended to create a new user for the script usage. The script uses the HTTP-API of the SMS Gateway.
Download and configure the necessary script
For this purpose, you first need the script sendsms.sh. Download it and place it on your Centreon server in the /usr/local/bin/ directory.
Create a file "config" in the directory /usr/local/bin/. This file contains the configuration for the script.
host=<IP Address of the SMS Gateways>
#mode=<All modes can be seen here>
Lines with beginning # are comments. Commented out options are not necessary.
The option insecuressl=true deactivates the SSL Certificate verification.
All by the "config" file configured values can be overwritten by parameters.
In this step commands must now be configured for the SMS configuration in Centreon. Corresponding contacts must also be created.
Example: Definition for text message notifications
Navigate in the Centreon web interface: Configuration - Commands - Notifications
Add a command notify-host-by-sms:
Add a further command notify-service-by-sms:
Example: Creating a contact for SMS notifications
Navigate in the Centreon web interface: Configuration - Users
Add a contact: