Page 1 of 1

Use existing messaging server to send SMS notifcation

Posted: Wed Oct 24, 2018 10:51 pm
by magpantayr
Hello,

Would like to ask help regarding sending SMS notifications.

We have an existing SMS messaging server which uses a modem to send SMS notifications.
Unfortunately, the programmer who created it is not connected to our company anymore.

The information I have is the IP address of the server where the modem is connected and the port # it is using.

Is there a way to use this messaging server to send notifications of Nagios?

Thank you in advanced!

Re: Use existing messaging server to send SMS notifcation

Posted: Thu Oct 25, 2018 11:25 am
by benjaminsmith
Hi @Magpantayr

Do you know what type of SMS hardware you have? We have developed an iSMS component for integration of Multi-Tech iSMS GSM modems with Nagios XI, so that's going to be the easiest to setup.

Please let me know.

Re: Use existing messaging server to send SMS notifcation

Posted: Mon Oct 29, 2018 1:53 am
by magpantayr
Hello,

Thanks for the reply. We are currently using a Globe Tattoo Stick Broadband with SIM card. (see attached pic)
tattoostick.JPG
What I know is that there is a service that is just running on the server for it to work.

I tried to copy this program (lnxmessaging) on our older Nagios 3 server to Nagios XI server just to try to send messages and it worked. (see attached pic)
lnxmessaging.JPG
But there is no documentation on this that's why I cannot duplicate the setup.

What I do need is how can I put the alerts on the messages that I want to send.
Is there a way on how can I get this work?

Thanks again!

Re: Use existing messaging server to send SMS notifcation

Posted: Mon Oct 29, 2018 10:54 am
by benjaminsmith
Hello @magpantayr
I tried to copy this program (lnxmessaging) on our older Nagios 3 server to Nagios XI server just to try to send messages and it worked. (see attached pic)
If you are able to send messages from your XI server, then it should be possible. First, you'll need to setup a command for a new event handler in the Core Configuration Manager (CCM) that calls LnxMesssaging. Please read: https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Next, in the CCM got to Alerting > Contacts > Alert Settings > Manage Host/Service Notification Commands, and add the command for the event handler for messaging.

Reference Doc on XI Notifications:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Let me know if you're able to get it working.

Re: Use existing messaging server to send SMS notifcation

Posted: Tue Oct 30, 2018 12:01 am
by magpantayr
Hello,

Thank you so much for the help. I was able to make it work somehow and I just have another question.

Since I created a new command (event handler), will my default email notification be affected?
Right now we are using the email and is working. Once I replaced the event handler, will the email will not work?

Also, is there a way to deploy this event handler command by bulk? not using an enterprise Nagios.

Thanks!

Re: Use existing messaging server to send SMS notifcation

Posted: Tue Oct 30, 2018 12:04 pm
by benjaminsmith
Good to hear you were able to get it working.
Once I replaced the event handler, will the email will not work?
You can add more than one notification command to your contact template. Go to Configure > Core Configuration Manager (CCM) > Alerting > Contact Templates and click the Manage Host Notification Commands button. Add the new SMS notification command that you have created to your contact template.
Also, is there a way to deploy this event handler command by bulk? not using an enterprise Nagios.
I'm not sure if I fully understand the question, but using contact templates in either Nagios core or Nagios Xi will make it easier to manage changes across your contact groups.

How object inheritance works in Nagios Core
https://assets.nagios.com/downloads/nag ... tance.html

Re: Use existing messaging server to send SMS notifcation

Posted: Wed Oct 31, 2018 12:29 am
by magpantayr
Hello,

The Templates did the trick!.

Thank you so much for your support!

Re: Use existing messaging server to send SMS notifcation

Posted: Wed Oct 31, 2018 9:11 am
by benjaminsmith
The Templates did the trick!.

Thank you so much for your support!
@magpantayr. Glad to hear you got it working. Thanks for using the Nagios Support forums. I will go ahead and close this forum topic.