Large file reporting issue

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mIRRONEL
Posts: 6
Joined: Thu Nov 10, 2022 1:13 am

Large file reporting issue

Post by mIRRONEL »

hello, i'm ronel and i use cacti version 1.2.23
I'm trying to send report but it fails to send to the mail server. I checked into cacti log I found this error

2023/08/12 16:25:41 - CMDPHP WARNING Backtrace: (/reports_admin.php[125]:reports_form_actions(), /lib/html_reports.php[460]:reports_send(), /lib/html_reports.php[603]:generate_report(), /lib/reports.php[592]:mailer(), /lib/functions.php[5040]:cacti_debug_backtrace())
2023/08/12 16:25:41 - MAILER
2023/08/12 16:25:41 - REPORTS generate_report, Problems sending Report 'Daily Graph R1'. Problem with e-mail Subsystem Error is 'Could not instantiate mail function.'

and I also check into cacti mail log I found this

Aug 12 16:46:40 localhost postfix/smtp[60572]: 9AFC24C60: to=<Cacti@cacti.net>, relay=mail.cacti.net[23.166.80.13]:25, delay=13086, delays=13085/0.04/0.99/0.27, dsn=4.7.1, status=deferred (host mail.cacti.net[23.166.80.13] said: 450 4.7.1 Client host rejected: cannot find your hostname, [103.15.40.102] (in reply to RCPT TO command))
Aug 12 16:51:08 localhost postfix/postdrop[61710]: warning: uid=48: File too large
Aug 12 16:51:08 localhost postfix/sendmail[61709]: fatal: Cacti@cacti.net(48): message file too big

how I get rid of this? Thanks in advance
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Large file reporting issue

Post by TheWitness »

Well, there is a Maximum Size setting in Reports, but if the mail receiver has a lower limit imposed, there is not much Cacti can do about it. Why where you sending to Cacti@cacti.net anyway?
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mIRRONEL
Posts: 6
Joined: Thu Nov 10, 2022 1:13 am

Re: Large file reporting issue

Post by mIRRONEL »

I'm not sending the mail to Cacti@cacti.net, i think cacti using his own mail relay server [mail.cacti.net] to send the report
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Large file reporting issue

Post by TheWitness »

Go to Console > Settings > Mail/Reporting/DNS and verify that the Emailing Options are accurate. Then, do the same thing for the Reporting > Edit > Details tab.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
mIRRONEL
Posts: 6
Joined: Thu Nov 10, 2022 1:13 am

Re: Large file reporting issue

Post by mIRRONEL »

Many thanks man, now its working
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests