Sending Nagios Notification as SMS to Mobile.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
SJ04
Posts: 42
Joined: Sat Oct 17, 2015 3:14 pm

Sending Nagios Notification as SMS to Mobile.

Post by SJ04 »

Hi Guys,

I have

Code: Select all

 Nagios 4.1.1
Installed on the

Code: Select all

Ubuntu 14.04 
and my Ubuntu (VM) on the

Code: Select all

Hyper V 2012
. i have configured the Nagios to send the email notification viaExchange relay host and this is working without any Issue but i want to have a solution for the Situation when my Exchange Server goes Down and i want to enable Notification service Via SMS to Mobile.

I want to connect the Mobile to My nagios server and then enable the SMS service.

can someone please explain me how can i connect the

Code: Select all

Samsung Mobile (Android )
to Ubuntu VM and enable the Nagios Notification as SMS to my Phone.?

please advice some tips.

thanks for the help.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Sending Nagios Notification as SMS to Mobile.

Post by eloyd »

You will need to have a physical cable installed from the device to your Nagios server and then you will need to have software on the Nagios server that will allow you to send SMS messages through the Android device. This may be complicated by the fact that you need to get drivers and protocols from the device manufacturer.

Then, all you need to do is write a script which will send the notification through the wire connecting your Nagios server to the device and send the appropriate SMS message to the appropriate people.

The problem is that you're working in a VM and getting the mobile device to properly connect to and work with Nagios is going to be complicated, I'm sure.

It might be easier to have a networked SMS gateway that you put on your network and then use it via API calls (like URLs) to send messages directly. These are more expensive, but easier to use and more reliable than a mobile device.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
SJ04
Posts: 42
Joined: Sat Oct 17, 2015 3:14 pm

Re: Sending Nagios Notification as SMS to Mobile.

Post by SJ04 »

eloyd wrote:You will need to have a physical cable installed from the device to your Nagios server and then you will need to have software on the Nagios server that will allow you to send SMS messages through the Android device. This may be complicated by the fact that you need to get drivers and protocols from the device manufacturer.

Then, all you need to do is write a script which will send the notification through the wire connecting your Nagios server to the device and send the appropriate SMS message to the appropriate people.

The problem is that you're working in a VM and getting the mobile device to properly connect to and work with Nagios is going to be complicated, I'm sure.

It might be easier to have a networked SMS gateway that you put on your network and then use it via API calls (like URLs) to send messages directly. These are more expensive, but easier to use and more reliable than a mobile device.
@elyod.

Hi,

i have knowledge about the i need to attach the phone with USB cable to Nagios Server. and This two package

Code: Select all

gnokii and gsm-utils
are used for Mobile. but my question is do you have any idea how can i connect my Mobile to VM ?

at the end of the day i will use SMS server but for now i want to test with Mobile,

thanks
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Sending Nagios Notification as SMS to Mobile.

Post by rkennedy »

What are you using for virtualization? Based off of that, you should be able to assign a USB port to a specific VM.
Former Nagios Employee
SJ04
Posts: 42
Joined: Sat Oct 17, 2015 3:14 pm

Re: Sending Nagios Notification as SMS to Mobile.

Post by SJ04 »

rkennedy wrote:What are you using for virtualization? Based off of that, you should be able to assign a USB port to a specific VM.
I have Hyper V 2012 and My Ubuntu server (Where Nagios is Installed) is Vm over it.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Sending Nagios Notification as SMS to Mobile.

Post by rkennedy »

This is getting out of scope in regards to what we support, as we are here for Nagios. If you need further assistance with Hyper V please contact them for support.

This link might work for you though, http://blogs.technet.com/b/hollis/archi ... -v-vm.aspx.
Former Nagios Employee
Locked