Nectar 0.21 Released - Major Enhancement

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Nectar 0.21 Released - Major Enhancement

Post by TheWitness »

All,

The Cacti Group is pleased to announce the second release of Nectar 0.21. This release is a major improvement from the first Nectar release, the true descendant of Reports.

It includes all of the features below.
fix: Graphs were not being generated correctly in reports
fix: Resolve issues time in the past warnings during save
feature: Create two access levels: Admin and User
feature: Allow users to create and manage their own reports
feature: Allow more granular report item drilldown
feature: Re-introduce graph previews when adding graphs
feature: Break the Report edit screen into a tabbed view
feature: Remember the last host template and host when adding graphs
feature: Support the Tree object in the report
feature: Support title font size
feature: Support graph size, type and number of columns
feature: Support custom css and html wrappers for the reports
feature: Allow the report name and email subject line to be different
feature: Add Horizontal Rule element
feature: Support filter tree and host graphs by regular expression
There are two files that need to be patched to use this Plugin correctly. Please look over the patch to the Settings plugin and the modification to the file lib/html_utility.php in the 0.8.7e folder.

We hope you enjoy this plugin.

TheWitness
Attachments
nectar-0.21.tar.gz
(48.34 KiB) Downloaded 440 times
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?
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Updated and uploaded to http://docs.cacti.net/plugin:nectar
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Great plugin! However, it only seems to show the graphs embedded in the email if I use my MSExchange server to send the email. As I don't want to reply on M$ products to send email for me (particularly if the Exchange server goes down), I use POSTFIX.

Nectar just seems to show the CSS in the message body when using POSTFIX. THOLD seems to show the HTML fine though.

Any thoughts ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

mcutting wrote:Great plugin! However, it only seems to show the graphs embedded in the email if I use my MSExchange server to send the email. As I don't want to reply on M$ products to send email for me (particularly if the Exchange server goes down), I use POSTFIX.

Nectar just seems to show the CSS in the message body when using POSTFIX. THOLD seems to show the HTML fine though.

Any thoughts ?

Thanks
Let me send to my Thunderbird and see what the reports look like there.
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

edit nectar_functions.php, and goto line 248 and change image/png to image/jpg. That's one error that I see. Keep me posted.

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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Also, in lines 871 and 873 do the following. The image tags are ended as such " />". Change to ">".

Let me know which changes fixes things.

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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The last difference is the following. At line 890, add the following:

Code: Select all

$v = nectar_version();
$Mailer->header_set('X-Mailer', 'Cacti-Nectar-v' . $v['version']);
$Mailer->header_set('User-Agent', 'Cacti-Nectar-v' . $v['version']);
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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:edit nectar_functions.php, and goto line 248 and change image/png to image/jpg. That's one error that I see. Keep me posted.

TheWitness
Changed this - still the same though (noticed that this has also been rectified in SVN).
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:Also, in lines 871 and 873 do the following. The image tags are ended as such " />". Change to ">".

Let me know which changes fixes things.

TheWitness
No change - modified lines 871 and 873 from "/>" to ">"
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:The last difference is the following. At line 890, add the following:

Code: Select all

$v = nectar_version();
$Mailer->header_set('X-Mailer', 'Cacti-Nectar-v' . $v['version']);
$Mailer->header_set('User-Agent', 'Cacti-Nectar-v' . $v['version']);
TheWitness
Placed this at line 890 - no change.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Tony's helping out. He's pretty familiar with the headers and has pointed out a few things already. However, it's Superbowl Sunday here. So, I'm off to that right now. Keep your eyes on SVN.

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:Tony's helping out. He's pretty familiar with the headers and has pointed out a few things already. However, it's Superbowl Sunday here. So, I'm off to that right now. Keep your eyes on SVN.

TheWitness
Will do - thanks.

Enjoy the game :)
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Back from shopping. Can you send the email you received from postfix as an attachment to rony at disorder dot com and thewitness at cacti do net?

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?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

TheWitness wrote:Back from shopping. Can you send the email you received from postfix as an attachment to rony at disorder dot com and thewitness at cacti do net?

TheWitness
Done ! :)
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

I get this with my qmail server too, reading on Thunderbird 2.

Just from looking at the (e-mail message) source in Thunderbird, the mail isn't valid HTML: there's no <html> tags, and there's a <br> after the </body>, neither of which should happen. There's also no <head> around the <style>.

The HTML document in the mail has a MIME type of text/plain, too.

It's been a while since I really looked at a MIME document, but it looks like it specifies one separator in the headers, then uses a different one in practice, too (adds _HTML on the end)...
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Locked

Who is online

Users browsing this forum: No registered users and 1 guest