Nagios XI Integration

Use the D7 SMS Gateway to send SMS notifications from Nagios XI.

Integrate Now

Easy to automate

Directly from Nagios XI, automation can be set up with a few clicks.

Personalized messages

Personalize your messages with placeholders such as first name, last name, and email address.

Global coverage

Using D7SMS, you can send SMS campaigns globally without any limitations.

How To Integrate

image

Create an account with D7

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 up
image
image
image

Create an API token

The D7SMS connection uses OAuth 2.0-based Bearer token authentication, which can be created in the API Tokens section.

image

Configure and Test the Script

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)

image
image
image

Add notification commands

On Nagios XI - GUI, Navigate to following path and add service and host notification commands. Configure > Core Config Manager > Commands > Add new

image

Update contact templates

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

image
image
image

Add contact to templates Used:

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

image

Add pager number

Navigate to Configure > Core Config Manager > Alerting > Contacts Select your contact > Add pager number and save

image
image

Complete Tutorial

A complete Video Tutorial for configuring Nagios XI to send SMS using the D7 SMS Extension.

Feel free to contact us at any time

[email protected]

image
image
image
image