Hi,
i use plugin thold in my cacti. It works very well ... but actually i have a problem on the email. When i receive it, i can't find the graph attached.
Anyone can help me?
thanks,
sam
problem with thold
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Lotus Notes, that industry standard, does not support PNG files
TheWitness
TheWitness
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?
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?
My trusty Cacti manual that I write to everytime I make a change has it! I just remembered. It says:
"Edit reports plugin to disable png inline att. as notes does not support this; In File 'functions.php' in reports folder, comment out "$mail -> AddStringEmbedAttachment" in the "if($type='attach'||$type=='') {" section. Also comment out this line" "$mail->Body.=<br><br><img sfc'cid$cid'>"; " this line creates inline image. Now Add this line: $mail ->AddStringAttachment($data,$val['filename'].'.png');
This is copied from my book. Expect spelling errors except for the last line (The line to add to the .php file)
Good Luck!
"Edit reports plugin to disable png inline att. as notes does not support this; In File 'functions.php' in reports folder, comment out "$mail -> AddStringEmbedAttachment" in the "if($type='attach'||$type=='') {" section. Also comment out this line" "$mail->Body.=<br><br><img sfc'cid$cid'>"; " this line creates inline image. Now Add this line: $mail ->AddStringAttachment($data,$val['filename'].'.png');
This is copied from my book. Expect spelling errors except for the last line (The line to add to the .php file)
Good Luck!
Who is online
Users browsing this forum: No registered users and 2 guests