Page 1 of 1

Setting up SMS - notifications not being sent to a new conta

Posted: Tue May 05, 2015 10:49 pm
by FelixForbes
Hi There,

I am running NagiosXI 2014R2.7 on 64-Bit CentOS 6.6. This is a manual install with no special configurations. I am trying to setup SMS by sending the messages via ssh to an Opengear ACM5505 appliance - I followed these instructions (http://www.linuxproblem.org/art_9.html) to setup SSH with stored RSA keys.

I can send a SMS to my phone from the command line on my Nagios box with the command "ssh <username>@<IP> 'sendsms <SMSNUMBER> "<MESSAGE>"'" - I have followed this guide (http://assets.nagios.com/downloads/nagi ... _Ahmed.pdf) and created commands called "notify-host-by-sms" and "notify-service-by-sms". I created a new contact and have applied the SMS contact to a service (disk space alert on a test laptop - I am changing the warning and critical values on the alert to fire off the notifications).

Each time the alert fires I get email alerts (and can see they are being sent in Notifications), but the SMS Alerts are not being sent. I always see the email alert being sent to my username but I am not seeing anything being sent to the SMS Contact.

Can anyone suggest anything further I need to look at?

Re: Setting up SMS - notifications not being sent to a new c

Posted: Wed May 06, 2015 12:28 am
by Box293
Nagios XI extends the notification capabilities of Nagios Core, and because of this it requires that contacts objects get created when creating users through Admin > Users > Manage Users.

NOTE: Any notification preferences should be defined while logged on as that user by clicking on their name in the top right corner. You can use the masquerade icon (eyeball) to log in as that user.

Here is a document that explains the XI Contact relationship:
http://assets.nagios.com/downloads/nagi ... ntacts.pdf

Here is a guide about SMS:
http://assets.nagios.com/downloads/nagi ... _in_XI.pdf

Re: Setting up SMS - notifications not being sent to a new c

Posted: Wed May 06, 2015 2:00 am
by FelixForbes
Interesting. I had created the SMS contact in XI as a contact rather than a user. I deleted the contact and started again as a user and now I am seeing notifications coming through.

Thanks for the quick reply, it certainly put me on the right path. I'm happy for this ticket to be closed.