Page 4 of 5

Re: scheduled reporting not emailing

Posted: Tue Apr 23, 2013 1:22 pm
by mobiledataforce
What if I just disable text notifications? I am most concerned with getting the reports to email.
Thanks.

Re: scheduled reporting not emailing

Posted: Tue Apr 23, 2013 1:24 pm
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.

Re: scheduled reporting not emailing

Posted: Tue Apr 23, 2013 1:33 pm
by scottwilkerson
Just curious, are you sending reports with PDF attachments to text numbers? This likely will not work

Re: scheduled reporting not emailing

Posted: Tue Apr 23, 2013 3:04 pm
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?

Re: scheduled reporting not emailing

Posted: Wed Apr 24, 2013 11:34 am
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?

Re: scheduled reporting not emailing

Posted: Wed Apr 24, 2013 12:10 pm
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?

Re: scheduled reporting not emailing

Posted: Wed Apr 24, 2013 12:51 pm
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.

Re: scheduled reporting not emailing

Posted: Thu Apr 25, 2013 4:22 pm
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!

Re: scheduled reporting not emailing

Posted: Thu Apr 25, 2013 4:35 pm
by abrist
Great. Let us know.

Re: scheduled reporting not emailing

Posted: Thu Apr 25, 2013 4:43 pm
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?