Page 1 of 2
Sending text messages
Posted: Thu Jan 09, 2014 2:58 pm
by toleolu
I'm trying to set up text message alerts for one of our users, I can set his phone up in the notification methods, the test message doesn't throw an error, but he never receives it.
On my account when I go into Notification Methods, I get this:
Management of notification preferences is not available for your account. Contact your Nagios XI administrator for details.
I contacted our Nagios administrator, that's me by the way, and he said "Beats the heck out of me, contact the pros." So I'm contacting the Pros.
Mahalo
Re: Sending text messages
Posted: Thu Jan 09, 2014 3:16 pm
by lmiltchev
Are you using Nagios XI Enterprise Edition? If you do, go to: Admin->Notification Management and check in there to see if notification settings are locked for this particular user.
BTW, can you show us a screenshot of this error?
Re: Sending text messages
Posted: Thu Jan 09, 2014 4:27 pm
by toleolu
Didn't see anything checked, attached are the errors for my user account in both Notification Management and Notification Methods.
Thanks
Re: Sending text messages
Posted: Thu Jan 09, 2014 5:23 pm
by slansing
Okay so it looks like you are working with contacts as well, make sure that you have the correct notification handler commands defined as outlined here:
http://assets.nagios.com/downloads/nagi ... ations.pdf
In this case you would want to assign the xi-notify-host* and xi-notify-service* commands.
Re: Sending text messages
Posted: Thu Jan 09, 2014 6:08 pm
by toleolu
Thanks, that event handler was the problem with the error I was getting on my account, I had it set for email, so I changed it and now I can add my cell phone to the text notification, but it's still not working for myself or the other contact I was trying to set it up for.
Does this work out of the box, or do I need to download one of those plugins or some other files I was reading about to enable SMS? I assume it's sending the SMS via the SendMail on the Nagios Server, is that correct?
Re: Sending text messages
Posted: Fri Jan 10, 2014 9:44 am
by lmiltchev
I assume it's sending the SMS via the SendMail on the Nagios Server, is that correct?
When you go to Admin->Manage Email Settings, what do you have selected as a "Mail Method"?
Have you modified anything on the "Mobile Carriers" page (Admin->Manage Mobile Carriers)?
Did you select the "Mobile Phone Text Message" checkbox under the "Notification Methods" page (click on the username in the upper right corner, then click on "Notification Methods"->"Mobile Text" tab)?
Do you get an error message when you try to send a test notification?
Do you see anything in the maillog?
Re: Sending text messages
Posted: Fri Jan 10, 2014 12:46 pm
by toleolu
Mail Method is Sendmail. (Email notifications are working by the way)
I didn't change anything in the Mobile Carriers. We use Verizon and Verizon is set to @vtext.com.
Mobile Phone Text Message is checked, my phone number is correct, when I Send Test Notification, I get the email, but no text, and no errors.
Output from the mail log specific to the text message is attached. And yes, we're using Blackberry's.
Mahalo
Re: Sending text messages
Posted: Fri Jan 10, 2014 12:51 pm
by abrist
Jan 10 07:29:49 hhscnagios postfix/smtp[10401]: D51C731EB: to=<
[email protected]>, relay=smtp-bb.vtext.com[69.78.128.213]:25, delay=46645, delays=46643/0.01/1.7/0, dsn=4.0.0, status=deferred (host smtp-bb.vtext.com[69.78.128.213] refused to talk to me: 554 njbrspamp4.vtext.com)
Jan 10 07:34:48 hhscnagios postfix/qmgr[1374]: 027F53ED8: from=<
[email protected]>, size=951, nrcpt=1 (queue active)
Jan 10 07:34:48 hhscnagios postfix/error[17400]: 027F53ED8: to=<
[email protected]>, relay=none, delay=475, delays=475/0.01/0/0.02, dsn=4.0.0, status=deferred (delivery temporarily suspended: host smtp-bb.vtext.com[69.78.128.213] refused to talk to me: 554 njbrspamp4.vtext.com)
Looks like your sms smtp relay is refusing your connection. Does your relay require encryption/credentials?
Re: Sending text messages
Posted: Fri Jan 10, 2014 1:59 pm
by toleolu
I will have to check since I don't manage that system.
I'm assuming we're referring to the BES server here, wouldn't you think? Since I'm assuming that's what the smtp-bb is referring to?
Re: Sending text messages
Posted: Fri Jan 10, 2014 2:08 pm
by toleolu
Wait a minute, smtp-bb.vtext.com, that would be Verizon wouldn't it?