Use existing messaging server to send SMS notifcation

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
magpantayr
Posts: 17
Joined: Sun May 14, 2017 10:33 pm

Use existing messaging server to send SMS notifcation

Post 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!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Use existing messaging server to send SMS notifcation

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
magpantayr
Posts: 17
Joined: Sun May 14, 2017 10:33 pm

Re: Use existing messaging server to send SMS notifcation

Post 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!
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Use existing messaging server to send SMS notifcation

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
magpantayr
Posts: 17
Joined: Sun May 14, 2017 10:33 pm

Re: Use existing messaging server to send SMS notifcation

Post 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!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Use existing messaging server to send SMS notifcation

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
magpantayr
Posts: 17
Joined: Sun May 14, 2017 10:33 pm

Re: Use existing messaging server to send SMS notifcation

Post by magpantayr »

Hello,

The Templates did the trick!.

Thank you so much for your support!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Use existing messaging server to send SMS notifcation

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked