Home / Integration plugins / Opsview SMS Integration

Opsview SMS notifications – integration manual

Here we describe how to setup Opsview with SMSEagle for SMS notifications. It should take you about 5 min to have it up and running.
Following manual is based on Opsview manual – Adding / Writing Your Own Notification Method

SMSEagle is an offline hardware SMS gateway. Therefore no external connection to 3rd party system is required. All notifications are generated on-premise and sent directly to a cellular network.

This solution can be used in secure installations without Internet access.

SMSEagle Setup

1. Create a new user for this script in SMSEagle > Users menu.

2. Open the Access to API menu, enable APIv1 and generate an access token.

3. In the same menu, add the permission for request you want to send.

Opsview Setup

1. Download latest version of the script notify_opsview_smseagle.sh from our repository: https://github.com/smseagle/smseagle-opsview
Place the script in your Opsview plugins directory (by default: /usr/local/nagios/libexec/notifications). Make sure it is executable and owned by nagios user.

2. Edit script content:
SMSEAGLEIP="http://192.168.1.101"
SMSEAGLETOKEN="123abc456def789"
SMSEAGLEMSGTYPE="sms" (available values: sms, ring, tts, tts_adv)

Optional:

SMSEAGLEDURATION = Duration of a call in seconds (default value: 10)
SMSEAGLEVOICEID = ID of a voice model (default value: 1)

Replace SMSEAGLEIP and SMSEAGLETOKEN in script with your values.

3. Create the SMS notification method:
– Go to Settings -> Notification methods -> Add new
  • Name: add name for new method
  • Make it active
  • Command: put notify_opsview_smseagle.sh
  • User variables: Here you have to pass a variable with destination number, fe. PAGER, OPSVIEW_CONTACTPAGER or NAGIOS_CONTACTPAGER
  • Submit changes.
  • Each User will have to select this Notification Method to one of their Notification Profiles.
  • Test Cause a failure to test that the notification is sent. After a few seconds, you should receive an SMS.
  • Reload Opsview to make the changes live.

What is hardware
SMS Gateway?

Learn more about
SMSEagle features

Explore SMSEagle Demo device

SMSEagle is a hardware & software solution that guarantees a swift delivery of your messages to designated recipients, whether it’s for notifications, alerts, or important updates.

After registering to a demo you get a remote access to our physical device NXS-9750.

  • 14-days free trial
  • Access to over 20 functionalities