scheduled reporting not emailing
-
mobiledataforce
- Posts: 68
- Joined: Fri Mar 15, 2013 1:35 pm
scheduled reporting not emailing
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
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
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
The Mail Method I am using is Sendmail.
Re: scheduled reporting not emailing
Iam having the same issues.
Re: scheduled reporting not emailing
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.
"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 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
Any suggestions?
Re: scheduled reporting not emailing
Lets send a test report while doing a tail on the apache 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.
Code: Select all
tail -f /var/log/httpd/error_logFormer 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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: scheduled reporting not emailing
I'd also run the following when you are sending a report email:
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:
You may want to obfuscate email addresses.
Code: Select all
tail /var/log/maillog | grep rejectShow 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-
mobiledataforce
- Posts: 68
- Joined: Fri Mar 15, 2013 1:35 pm
Re: scheduled reporting not emailing
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!
[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!