Sending text messages

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Sending text messages

Post 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. :D :D

Mahalo
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Sending text messages

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Sending text messages

Post by toleolu »

Didn't see anything checked, attached are the errors for my user account in both Notification Management and Notification Methods.

Thanks
You do not have the required permissions to view the files attached to this post.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Sending text messages

Post 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.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Sending text messages

Post 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?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Sending text messages

Post 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?

Code: Select all

tail -200 /var/log/maillog
Be sure to check out our Knowledgebase for helpful articles and solutions!
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Sending text messages

Post 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. :o

Mahalo
You do not have the required permissions to view the files attached to this post.
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Sending text messages

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Sending text messages

Post 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?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
toleolu
Posts: 294
Joined: Fri Jul 19, 2013 7:02 pm
Location: Honolulu Hawaii

Re: Sending text messages

Post by toleolu »

Wait a minute, smtp-bb.vtext.com, that would be Verizon wouldn't it?
Charles Masteller
Information Systems Specialist
Hawaii Health Systems Corp.
"No one will ever need more than 640K RAM". Bill Gates
Locked