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

scheduled reporting not emailing

Post by mobiledataforce »

I am able to manually export reports but can't seem to get them to send via email. If I click the Send Now button for a scheduled report I do not receive it by email. I am receiving notifications by email.
Any ideas?
Thanks
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: scheduled reporting not emailing

Post by slansing »

How to you have notification emails configured within Nagios XI, what mail agent are you using?
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

The Mail Method I am using is Sendmail.
nagios321
Posts: 1
Joined: Wed May 09, 2012 11:20 am

Re: scheduled reporting not emailing

Post by nagios321 »

Iam having the same issues.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: scheduled reporting not emailing

Post by abrist »

Do you receive a blank pdf, or do you not receive the mail?
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 do not receive the email at all. I can download the pdf manually without an issue.
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

Any suggestions?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: scheduled reporting not emailing

Post by abrist »

Lets send a test report while doing a tail on the apache error log:

Code: Select all

tail -f /var/log/httpd/error_log
Now try to send a report to an email address from the reports page in XI. Copy the output from the tail and post them here.
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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: scheduled reporting not emailing

Post by slansing »

I'd also run the following when you are sending a report email:

Code: Select all

tail /var/log/maillog | grep reject
Lets see if it's getting rejected by the destination.

Show the output of both the above, and of the following after testing, as well as Abrist's command:

Code: Select all

tail /var/log/maillog
You may want to obfuscate email addresses.
mobiledataforce
Posts: 68
Joined: Fri Mar 15, 2013 1:35 pm

Re: scheduled reporting not emailing

Post by mobiledataforce »

I think this is everything you asked for; let me know if I missed something:

[root@localhost /]# tail /var/log/maillog
Apr 10 13:21:43 localhost postfix/pickup[586]: B3E592030A: uid=48 from=<root@localhost>
Apr 10 13:21:43 localhost postfix/trivial-rewrite[15218]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:21:43 localhost postfix/trivial-rewrite[15218]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:21:43 localhost postfix/cleanup[15213]: B3E592030A: message-id=<[email protected]>
Apr 10 13:21:43 localhost postfix/qmgr[1986]: B3E592030A: from=<[email protected]>, size=37155, nrcpt=1 (queue active)
Apr 10 13:21:44 localhost postfix/smtp[15222]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:21:44 localhost postfix/smtp[15222]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:21:44 localhost postfix/smtp[15222]: B3E592030A: enabling PIX workarounds: disable_esmtp delay_dotcrlf for aspmx.l.google.com[173.194.79.26]:25
Apr 10 13:21:44 localhost postfix/smtp[15222]: B3E592030A: to=<emailaddress>, relay=aspmx.l.google.com[173.194.79.26]:25, delay=0.79, delays=0.32/0.13/0.09/0.25, dsn=2.0.0, status=sent (250 2.0.0 OK 1365621704 tr1si1519871pab.268 - gsmtp)
Apr 10 13:21:44 localhost postfix/qmgr[1986]: B3E592030A: removed

[root@localhost /]# tail -f /var/log/httpd/error_log
Saving to: `/usr/local/nagiosxi/tmp/scheduledreport-nagiosadmin-485mf7-Availability_Report.pdf'

0K .......... .......... .... 100% 94.0M=0s

2013-04-10 13:21:43 (94.0 MB/s) - `/usr/local/nagiosxi/tmp/scheduledreport-nagiosadmin-485mf7-Availability_Report.pdf' saved [25404/25404]

sendmail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
sendmail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only



Apr 10 13:22:14 localhost postfix/sendmail[15590]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:22:14 localhost postfix/sendmail[15590]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:22:14 localhost postfix/postdrop[15594]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:22:14 localhost postfix/postdrop[15594]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:22:14 localhost postfix/pickup[586]: 6F7382037A: uid=500 from=<root@localhost>
Apr 10 13:22:14 localhost postfix/cleanup[15213]: 6F7382037A: message-id=<[email protected]>
Apr 10 13:22:14 localhost postfix/qmgr[1986]: 6F7382037A: from=<[email protected]>, size=1953, nrcpt=1 (queue active)
Apr 10 13:22:14 localhost postfix/sendmail[15599]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:22:14 localhost postfix/sendmail[15599]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:22:14 localhost postfix/smtp[15222]: 6F7382037A: enabling PIX workarounds: disable_esmtp delay_dotcrlf for aspmx.l.google.com[173.194.79.26]:25
Apr 10 13:22:14 localhost postfix/postdrop[15603]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:22:14 localhost postfix/postdrop[15603]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:22:14 localhost postfix/pickup[586]: 9F89F2037B: uid=500 from=<root@localhost>
Apr 10 13:22:14 localhost postfix/cleanup[15213]: 9F89F2037B: message-id=<[email protected]>
Apr 10 13:22:14 localhost postfix/qmgr[1986]: 9F89F2037B: from=<[email protected]>, size=1948, nrcpt=1 (queue active)
Apr 10 13:22:14 localhost postfix/smtp[15572]: 9F89F2037B: enabling PIX workarounds: disable_esmtp delay_dotcrlf for aspmx.l.google.com[173.194.79.26]:25
Apr 10 13:22:14 localhost postfix/smtp[15572]: 9F89F2037B: to=<emailaddress>, relay=aspmx.l.google.com[173.194.79.26]:25, delay=0.21, delays=0.01/0/0.08/0.12, dsn=2.0.0, status=sent (250 2.0.0 OK 1365621734 o6si1525924pac.254 - gsmtp)
Apr 10 13:22:14 localhost postfix/qmgr[1986]: 9F89F2037B: removed
Apr 10 13:22:14 localhost postfix/smtp[15222]: 6F7382037A: to=<emailaddress>, relay=aspmx.l.google.com[173.194.79.26]:25, delay=0.46, delays=0.01/0/0.18/0.26, dsn=2.0.0, status=sent (250 2.0.0 OK 1365621734 te10si999727pbc.235 - gsmtp)
Apr 10 13:22:14 localhost postfix/qmgr[1986]: 6F7382037A: removed
Apr 10 13:24:58 localhost postfix/qmgr[1986]: 7F6ED27E32: from=<[email protected]>, size=926, nrcpt=1 (queue active)
Apr 10 13:24:58 localhost postfix/trivial-rewrite[17821]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:24:58 localhost postfix/trivial-rewrite[17821]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:24:58 localhost postfix/smtp[17825]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:24:58 localhost postfix/smtp[17825]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:24:58 localhost postfix/smtp[17825]: 7F6ED27E32: host smtp-bb.vtext.com[69.78.128.213] refused to talk to me: 554 njbrspamp2.vtext.com
Apr 10 13:24:58 localhost postfix/bounce[17836]: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
Apr 10 13:24:58 localhost postfix/bounce[17836]: warning: inet_protocols: configuring for IPv4 support only
Apr 10 13:24:58 localhost postfix/smtp[17825]: 7F6ED27E32: to=<##########@vtext.com>, relay=smtp-sl.vtext.com[69.78.67.53]:25, delay=428973, delays=428973/0.09/0.82/0, dsn=4.0.0, status=deferred (host smtp-sl.vtext.com[69.78.67.53] refused to talk to me: 554 txslspamp1.vtext.com)

Thanks!
Locked