Nectar Plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

TheWitness wrote:PM me your Cacti.log for the time period when this happened. I suspect that theres a SQL error there. I'll get the other component in, but it may take me until tomorrow morning.
There's nothing in the logs. Looking at nectar_webapi.php for item_edit, I don't even see any SQL though. I'm sure I'm missing something there.
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!)
erickbe
Cacti User
Posts: 52
Joined: Sat Jan 17, 2009 1:01 am

Post by erickbe »

Does anyone have a patched functions.php for settings plugin they can post? The patch file is not working for me on fedora and I tried to manually edit the php file with lines from patch file but that isn't working either.

Thanks.
User avatar
Hyperlord
Cacti User
Posts: 211
Joined: Tue Feb 10, 2009 3:24 am
Location: Frankfurt (a.M.), Germany

Post by Hyperlord »

erickbe wrote:Does anyone have a patched functions.php for settings plugin they can post? The patch file is not working for me on fedora and I tried to manually edit the php file with lines from patch file but that isn't working either.

Thanks.
Attached...I assume you use Cacti 0.8.7e

brgds
Attachments
functions.txt
Plugins->Settings->Include->functions.php
(8.16 KiB) Downloaded 173 times
html_utility.txt
Lib->html_utilities.php
(18.3 KiB) Downloaded 181 times
Om Tat Sat
User avatar
Hyperlord
Cacti User
Posts: 211
Joined: Tue Feb 10, 2009 3:24 am
Location: Frankfurt (a.M.), Germany

Post by Hyperlord »

TheWitness wrote: Yes, please test the two other file formats. I have not tested them at all.

TheWitness
FYI, I tested all methods now.

JPEG produces useless Graphs, see attached screenshot. GIF and PNG work fine. I'll use PNG so long...GIF is slightly not as colorful as the PNG ones.

Using CentOS4, it says my libs are current (libjpg,libgd and so on...).

brgds
Hyperlord
Attachments
JPG seems odd...
JPG seems odd...
Magical Snap - 2010.02.05 14.36 - 001.jpg (155.9 KiB) Viewed 2452 times
Om Tat Sat
erickbe
Cacti User
Posts: 52
Joined: Sat Jan 17, 2009 1:01 am

Post by erickbe »

Hyperlord wrote:
erickbe wrote:Does anyone have a patched functions.php for settings plugin they can post? The patch file is not working for me on fedora and I tried to manually edit the php file with lines from patch file but that isn't working either.

Thanks.
Attached...I assume you use Cacti 0.8.7e

brgds
Thanks, that solved the email issue for me.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hyperlord wrote:
TheWitness wrote: Yes, please test the two other file formats. I have not tested them at all.

TheWitness
FYI, I tested all methods now.

JPEG produces useless Graphs, see attached screenshot. GIF and PNG work fine. I'll use PNG so long...GIF is slightly not as colorful as the PNG ones.

Using CentOS4, it says my libs are current (libjpg,libgd and so on...).

brgds
Hyperlord
That image is cosmic (let me go test by taking a drop of this potion here). Likely a PHP issue. Works fine on RHEL5.

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?
erickbe
Cacti User
Posts: 52
Joined: Sat Jan 17, 2009 1:01 am

Post by erickbe »

Hi,

Got this plugin working and setup, and it is great. Thanks.

Some suggestions,

Can a report item be added, to add the HTML HR element between items if wanted to make some reports look cleaner.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

erickbe wrote:Hi,

Got this plugin working and setup, and it is great. Thanks.

Some suggestions,

Can a report item be added, to add the HTML HR element between items if wanted to make some reports look cleaner.
I added HRULE support. Please use the CSS format files to style it.

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 »

Nectar 0.21 link is here http://forums.cacti.net/viewtopic.php?p=181664#181664. Enjoy the new Plugin.

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
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Closing now. Discussion will continue at the link above
R.
Locked

Who is online

Users browsing this forum: No registered users and 2 guests