PDF reports not being sent

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

PDF reports not being sent

Post by BanditBBS »

I just noticed that if I try and include a pdf in a report the emails are not being sent. If I only include the csv they come fine. I can see the pdf process running for a few, but nothing ever shows up in maillog.

XI 5.2.1 and I am able to click download and select pdf and it shows in browser just fine.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: PDF reports not being sent

Post by lmiltchev »

Schedule a report with a PDF attachment, start a running tail on the apache error log:

Code: Select all

tail -f /var/log/httpd/error_log
then go to "My Scheduled Reports", click on "Send Now", stop the tail (Ctrl + c) and show the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: PDF reports not being sent

Post by BanditBBS »

Code: Select all

postdrop: warning: uid=48: File too large
sendmail: fatal: [email protected](48): message file too big
Sooooo...where do I change that :) (googling myself while waiting for reply)

Edit: Fixed https://paulgibbs.wordpress.com/2010/03 ... rge-error/
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: PDF reports not being sent

Post by ssax »

Awesome, thanks for posting the solution!
Locked