Page 1 of 1

Sending Nagios Notification as SMS to Mobile.

Posted: Tue Oct 20, 2015 10:41 am
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.

Re: Sending Nagios Notification as SMS to Mobile.

Posted: Tue Oct 20, 2015 10:48 am
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.

Re: Sending Nagios Notification as SMS to Mobile.

Posted: Tue Oct 20, 2015 12:49 pm
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

Re: Sending Nagios Notification as SMS to Mobile.

Posted: Tue Oct 20, 2015 1:06 pm
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.

Re: Sending Nagios Notification as SMS to Mobile.

Posted: Tue Oct 20, 2015 1:10 pm
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.

Re: Sending Nagios Notification as SMS to Mobile.

Posted: Tue Oct 20, 2015 1:16 pm
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.