Nectar Plugin 0.24 Bug: Multiple identical reports generated

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
ikorzha758
Cacti User
Posts: 164
Joined: Thu Jan 21, 2010 8:41 pm

Nectar Plugin 0.24 Bug: Multiple identical reports generated

Post by ikorzha758 »

My hats are off to all who developed the Nectar plugin. I have started using it since v.21 and had no issues until I have upgraded to latest SVN: .24

Now I'm receiving multiple identical reports, the number vary from 3-6.
Additionally there are errors in:

Notice: Undefined variable: item_details in /var/www/html/plugins/nectar/nectar_webapi.php on line 816

The problems didn't exist in v.21 or v.22 not sure about v.23

Please see the attached for confirmation.
Attachments
multiple_reports.gif
multiple_reports.gif (18.46 KiB) Viewed 1747 times
nectar_webapi.gif
nectar_webapi.gif (30.7 KiB) Viewed 1747 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I suppose that the item_details story related to horizontal rule (this does not have a detail). So ignore it for the time being. I'll fix that soon.
For the rest, please export your plugin_nectar tables and pm/mail them to me
R.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

My guess is that on the details tab, the days to send is set to 0 or something odd like that.

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?
ikorzha758
Cacti User
Posts: 164
Joined: Thu Jan 21, 2010 8:41 pm

Thank you guys both for quickly looking into this issue.

Post by ikorzha758 »

Gandalf, I have sent you a PM with the attachment.
Just to remove any doubts about correctness of the setup, I have attached a detailed tab.

FYI, for now I have downgraded back to v.22 retested it a number of times number of reports sent is always 1 and the run time doesn't usually exceed 20sec. In v 24 run time might exceed 500 sec...


The problem of the v.24 (duplicate reports) is non-existent in .v22 with the same nectar DB tables.
Attachments
nectar_details.gif
nectar_details.gif (19.38 KiB) Viewed 1709 times
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests