Create an API token
The D7SMS connection uses OAuth 2.0-based Bearer token authentication, which can be created in the API Tokens section.
Use the D7 SMS Gateway to send SMS notifications from Nagios XI.
Integrate NowDirectly from Nagios XI, automation can be set up with a few clicks.
Personalize your messages with placeholders such as first name, last name, and email address.
Using D7SMS, you can send SMS campaigns globally without any limitations.
It is necessary to create a D7 account in order to send messages through the D7 gateway. Using a trial account is also possible without making a purchase.
Sign upThe D7SMS connection uses OAuth 2.0-based Bearer token authentication, which can be created in the API Tokens section.
1. Navigate to plugins folder on NagiosXI Server 2. Download d7sms.py from https://github.com/d7networks/nagios/blob/master/d7sms.py 3. Replace "YOUR_D7_TOKEN" in the file with the token you created earlier. 4. Make it executable 5. Test the script (Remember to replace the destination number)
On Nagios XI - GUI, Navigate to following path and add service and host notification commands. Configure > Core Config Manager > Commands > Add new
Navigate to following path and add host, service notification commands to Assigned group for the templates you are using. Configure > Core Config Manager > Templates > Contact Templates Click on generic contact/xi_contact_generic > Alert Settings > "Manage host notification command" Select host-notify-by-sms and click on Add selected Then click on "Manage service notification command" on the same window Select service-notify-by-sms and click on Add selected
Navigate to Configure > Core Config Manager > Templates > Host Templates Click on the template used > Alert Settings > Manage Contacts > Select and add your contact from the list Click on "Service Templates" on the same page. Click on the template used > Alert Settings > Manage Contacts > Select and add your contact from the list
Navigate to Configure > Core Config Manager > Alerting > Contacts Select your contact > Add pager number and save
A complete Video Tutorial for configuring Nagios XI to send SMS using the D7 SMS Extension.