Aggregate, now at V0.66

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

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

Post by TheWitness »

Try adding the following right below that functions "function" line:

Code: Select all

global $config;
Although, Gandolf will have the last word of course.

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 »

Larry,

yes, this is a correct and minimal fix. Although I decided to polish some part of the code related to the "include" stuff. No functional change, so I call it V0.61. Find code attached
Reinhard
Attachments
aggregate-v0.61.tgz
The Code
(23.26 KiB) Downloaded 1029 times
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

cacti .6h with PA 1.0 is not supported by aggregate-v0.61 ??
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

PA 1.0 should be supported, but you have to apply the *.patch. It will install 3 needed hooks that PA 1.1 has by default. Please patch from cacti main directory.
But I never tested on cacti 0.8.6h. AT time of writing this plugin, my systems were at 0.8.6i level. But there is nothing that prevents me from assuming it should work.
Reinhard
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

what patch ?:(
DaDaemon
Posts: 23
Joined: Fri Jul 09, 2004 1:04 am

Post by DaDaemon »

----[ Prerequisites

Before you install Aggregate, you need to have met the following pre-requisites:

1) Cacti 0.8.6i or Above. Versions of Cacti prior to 0.8.6 are not supported.
2) Cacti Plugin Architecture v1.0 (requires 3 new hooks provided as a patch) OR
Cacti Plugin Architecture v1.1 (includes the needed hooks)
You need to use the patch file plugin_graphs.patch it's included in the package.
Starting with Cacti -.-
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

DaDaemon wrote:
----[ Prerequisites

Before you install Aggregate, you need to have met the following pre-requisites:

1) Cacti 0.8.6i or Above. Versions of Cacti prior to 0.8.6 are not supported.
2) Cacti Plugin Architecture v1.0 (requires 3 new hooks provided as a patch) OR
Cacti Plugin Architecture v1.1 (includes the needed hooks)
You need to use the patch file plugin_graphs.patch it's included in the package.
how do I apply the patch ?
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

timi wrote:
DaDaemon wrote:
----[ Prerequisites

Before you install Aggregate, you need to have met the following pre-requisites:

1) Cacti 0.8.6i or Above. Versions of Cacti prior to 0.8.6 are not supported.
2) Cacti Plugin Architecture v1.0 (requires 3 new hooks provided as a patch) OR
Cacti Plugin Architecture v1.1 (includes the needed hooks)
You need to use the patch file plugin_graphs.patch it's included in the package.
how do I apply the patch ?
ok solved :oops:
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

after creating an aggregate where can i see the graphs ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You will find the graph under the title you have given it when generating the aggregate (see: Graph Management). You may copy it to any tree like any other graph.
Reinhard
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

gandalf wrote:You will find the graph under the title you have given it when generating the aggregate (see: Graph Management). You may copy it to any tree like any other graph.
Reinhard
darn, i was looking in the host where i have chose the interface, but they where in Filter by host: None :) oh yeah, this pluging made my day :) awesome
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Yep. In general, it is not possible to associate a multi-host aggregate to single host; which one should I choose? So it's always host=none
Reinhard
chcioni
Posts: 19
Joined: Sat Jan 27, 2007 9:58 am

Summarize value

Post by chcioni »

Hi,

is possible sum the datasource value.
I want only one in out for all item

Tnx
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This was already answered the page before, see http://forums.cacti.net/viewtopic.php?p=93502#93502.
Reinhard
OgeeN
Posts: 9
Joined: Thu Feb 10, 2005 4:16 am

Thanks for great plugin

Post by OgeeN »

Thanks for great plugin.
Locked

Who is online

Users browsing this forum: No registered users and 0 guests