Unable to Create Aggregate Graph

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
gebster
Posts: 14
Joined: Thu May 15, 2008 1:56 pm
Location: Wenatchee, WA

Unable to Create Aggregate Graph

Post by gebster »

I'm unable to get Aggregate Graphs to work. Are there some logs of something I can look through.

Thanks GB,
Attachments
Selecting graphs
Selecting graphs
Select graphs to aggregate.gif (39.79 KiB) Viewed 1961 times
After selecting the graphs I wanted to combine.
After selecting the graphs I wanted to combine.
nothing there.gif (15.63 KiB) Viewed 1961 times
User avatar
TheWitness
Developer
Posts: 17064
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Likely THold needs to be patched, or you have another plugin that is not behaving properly. THold has been the culprit till now.

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?
duanew
Posts: 16
Joined: Tue Apr 03, 2007 12:04 am
Location: Brisbane, Australia

Post by duanew »

I have the same problem. I also have THold installed so will check that out.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

In plugins/thold/setup.php, make sure that code looks like

Code: Select all

function thold_graphs_action_prepare($save) {
	global $colors, $config;

	if ($save["drp_action"] == "plugin_thold_create") {
...
	}else{
		return $save;
	}
}
The "return $save;" is the one!
R.
gebster
Posts: 14
Joined: Thu May 15, 2008 1:56 pm
Location: Wenatchee, WA

Post by gebster »

That is different from what I have.

Code: Select all

function thold_device_action_prepare ($save) {
        global $colors, $host_list;
        if ($save['drp_action'] != 'thold')
                return $save;
My version of THOLD is 0.4.1
gebster
Posts: 14
Joined: Thu May 15, 2008 1:56 pm
Location: Wenatchee, WA

THOLD is was the issue

Post by gebster »

I Disable able THOLD under PLUGin Manager and was able to create the graph I needed.

thanks, i'll play around was the THOLD setup file to see if I can fix the issue.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

gebster wrote:That is different from what I have.

Code: Select all

function thold_device_action_prepare ($save) {
        global $colors, $host_list;
        if ($save['drp_action'] != 'thold')
                return $save;
My version of THOLD is 0.4.1
My code was from current SVN. I suppose that the string 'thold' should read differently. This may have changed; you might find the correct string in that same setup.php file:

Code: Select all

function thold_graphs_action_array($action) {
	$action['plugin_thold_create'] = 'Create Threshold from Template';
	return $action;
}
can be found in SVN for 0.4.1, so the if statement should check against 'plugin_thold_create'
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests