scheduled reporting not emailing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

What if I just disable text notifications? I am most concerned with getting the reports to email.
Thanks.
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

I tried this with no success. Also sill the same results if I set the text notifications and use a t-mobile number.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: scheduled reporting not emailing

Post by scottwilkerson »

Just curious, are you sending reports with PDF attachments to text numbers? This likely will not work
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

No. I have the texting all disabled at this point. Trying to get the emailing to work. It was earlier suggested I use a supported mail method; is sendmail not a supported method?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: scheduled reporting not emailing

Post by lmiltchev »

Sendmail is supported, but when your IP address is HELO'ing as "localhost.localdomain", you can easily get blocked, especially if Nagios XI is sending many alerts.

You can see what is your IP by going to:
http://www.whatismyip.com/

and then check if your IP has been blocked:
http://cbl.abuseat.org/lookup.cgi

Have you tried using SMTP? Any issues with scheduling reports this way?
Be sure to check out our Knowledgebase for helpful articles and solutions!
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

I'll see if I can get the SMTP going and let you know the results. Is it possible to use gmail SMTP server for this? Or do I have to setup a local SMTP server?

How do I get the IP to not be HELO'ing as localhost.localdomain?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: scheduled reporting not emailing

Post by abrist »

mobiledataforce wrote:Is it possible to use gmail SMTP server for this? Or do I have to setup a local SMTP server?
Gmail should work just fine.
How do I get the IP to not be HELO'ing as localhost.localdomain?
You would need to have a FQDN for your server and set it as your hostname.
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.
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

I can't get it to work with SMTP. It looks like the message sends with SSL and TLS (not without security)but I don't receive it.

Mailer said: Message sent! (method=smtp;host=smtp.gmail.com;port=587;smtpauth=true;security=tls)

Mailer said: Message sent! (method=smtp;host=smtp.gmail.com;port=465;smtpauth=true;security=ssl)

Mailer said: SMTP Error: Could not authenticate. (method=smtp;host=smtp.gmail.com;port=25;smtpauth=true;security=none)
An error occurred sending a test email!

EDIT:
Hold that...I think I figured out why SMTP isn't working. I'm tying to receive on the same address I am authenticating with. Will confirm shortly.

EDIT:
Confirmed. Also, I am receiving reports via email now using SMTP!
Last edited by mobiledataforce on Thu Apr 25, 2013 4:35 pm, edited 1 time in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: scheduled reporting not emailing

Post by abrist »

Great. Let us know.
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.
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

This is unrelated, but is there a way for me to "reset" the monitoring now that I have all the kinks worked out as such that the percentages for up/down/availability will reset?
Locked