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?
Setting up SMS - notifications not being sent to a new conta
-
FelixForbes
- Posts: 19
- Joined: Tue Feb 04, 2014 8:49 pm
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Setting up SMS - notifications not being sent to a new c
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
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
FelixForbes
- Posts: 19
- Joined: Tue Feb 04, 2014 8:49 pm
Re: Setting up SMS - notifications not being sent to a new c
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.
Thanks for the quick reply, it certainly put me on the right path. I'm happy for this ticket to be closed.