scheduled reporting not emailing
-
mobiledataforce
- Posts: 68
- Joined: Fri Mar 15, 2013 1:35 pm
Re: scheduled reporting not emailing
What if I just disable text notifications? I am most concerned with getting the reports to email.
Thanks.
Thanks.
-
mobiledataforce
- Posts: 68
- Joined: Fri Mar 15, 2013 1:35 pm
Re: scheduled reporting not emailing
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
Just curious, are you sending reports with PDF attachments to text numbers? This likely will not work
-
mobiledataforce
- Posts: 68
- Joined: Fri Mar 15, 2013 1:35 pm
Re: scheduled reporting not emailing
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
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?
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
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?
How do I get the IP to not be HELO'ing as localhost.localdomain?
Re: scheduled reporting not emailing
Gmail should work just fine.mobiledataforce wrote:Is it possible to use gmail SMTP server for this? Or do I have to setup a local SMTP server?
You would need to have a FQDN for your server and set it as your hostname.How do I get the IP to not be HELO'ing as localhost.localdomain?
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.
"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
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!
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.
Re: scheduled reporting not emailing
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.
"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
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?