Page 1 of 1

Upgrade to 5.1.42- report with attachment not working

Posted: Tue Feb 06, 2018 7:20 am
by saleemthupsee
Hello,

I am receiving the following error in the schedule reports when an attachment (.pdf) is checked as a parameter.

I received the following in the log :

[02-06-2018 13:10:52] Could not instantiate mail function. (method=sendmail), Referer: includes/components/scheduledreporting > Scheduled Report

regards,
Saleem
Paris

Re: Upgrade to 5.1.42- report with attachment not working

Posted: Tue Feb 06, 2018 4:36 pm
by kyang
This seems closely related to your other thread?

https://support.nagios.com/forum/viewto ... 16&t=47392

Are you able to regularly receive mail?

Re: Upgrade to 5.1.42- report with attachment not working

Posted: Tue Feb 20, 2018 8:05 am
by saleemthupsee
yes. without attachement. The issue is with big attachements i.e. reports 100 pages in pdf. Smaller reports are now working with attachment.

thread can be closed. unless the timeout issue can be fixed by nagios to allow for large reports to be attached.

cheers,
Saleem
Paris

Re: Upgrade to 5.1.42- report with attachment not working

Posted: Tue Feb 20, 2018 12:56 pm
by kyang
You could try to increase php values.

Someone else in another forum thread has the same issue, and confirmed that it helped a little bit.

https://support.nagios.com/forum/viewto ... 01#p245101