SMSEagle setup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
angus
Posts: 125
Joined: Thu May 28, 2015 8:17 am

SMSEagle setup

Post by angus »

Hello,

We have implemented an SMSEagle monitoring system for power down SMS notifications. According to SMSEagle, Nagios is able to send alerts to it. I'd like to set this up. I have followed the limited documentation provided by SMSEagle but i am stuck. The documentation is located here - https://www.smseagle.eu/integration-plu ... tegration/ . I believe i created the commands properly and the contact. I am unsure how to create the service checks.

Thanks.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: SMSEagle setup

Post by npolovenko »

Hello, @angus. Don't you already have some service and host checks? I think once you defined the command all you need to do is to open each contact in core configurations manager, go to the Alert Settings tab and assign the "host-notify-by-sms" as a host command in Manage Host Notification commands, and "notify-by-sms" in Manage Service Notification Commands.
Untitled.png
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
angus
Posts: 125
Joined: Thu May 28, 2015 8:17 am

Re: SMSEagle setup

Post by angus »

I think you are referring to the built in ability for Nagios to send SMS messages, correct? If so, we are using the SMSEagle for the SMS due to Nagios being on a VM. We also want to be alerted if email goes down and since the SMS messages go through email, we need something with mobile data access. Did i misinterpret your response?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SMSEagle setup

Post by rkennedy »

@angus - You will first need to figure out how SMSEagle is expecting the payload, my guess, would be an API. Get this working properly with a simple CURL call.

From there, navigate to Configure -> Core Config Manager -> Commands - create a new command, and apply the command you figured out. You'll want to use macros to account for all of your different hosts / services variables. See this link for a list of possible fields - https://assets.nagios.com/downloads/nag ... olist.html

Once this is done, you can then assign the new notification command to your hosts / services similar to what @npolovenko described.
Former Nagios Employee
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: SMSEagle setup

Post by npolovenko »

@angus, Service checks are services that Nagios is monitoring, Host checks are hosts that Nagios is monitoring. That's why I was confused when you said that you need to create new service checks in order for the SMS eagle notifications to work. -You don't have to create new services, all you need is to assign the proper command to the contact.
Untitled.png
You created commands in CCM, right?
Untitled1.png
In the commands you replaced:

Code: Select all

Replace SMSEAGLEIP with IP Address of your SMSEagle device.
Replace SMSEAGLEUSER and SMSEAGLEPASSWORD with your user/password to SMSEagle.
Next, all you need to do is open the contacts menu in CCM, figure out which of the existing contacts need to receive Eagle SMS alerts and edit those contacts. Assign the commands that you created to those contacts as I've shown on my screenshot in the previous post.


Also, looks like you need to add the pager variable to those contacts:

Code: Select all

pager contacts_phone_number
So open the contact in CCM, go to Misc Settings, Manage free Variables and add a new variable:
name -> put the word pager, value -> insert the phone number.
Untitled3.png
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked