plugin question (aggregate)

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
rheadly
Posts: 3
Joined: Tue Feb 10, 2009 9:09 pm

plugin question (aggregate)

Post by rheadly »

Hello. I'm new to cacti (but not new to snmp, rrd, mrtg, etc.), and I have some graphs up & running that I would like to include in an aggregate graph. I installed the aggregate plugin, read the doc, and followed the instructions, but when I select some graphs under graph management and click "create aggregate graph", it goes to the next screen that reads "create aggregate graph" yes/no ...with no other information (see screen shot below). I click yes, and it pops me back to the graph management screen - no error, no message, nothing.

I'm using the admin account, so I think I have all the necessary privileges - can anyone tell me what I am missing?

cacti v0.8.7c
aggregate 0.7

Thanks!
RH
Attachments
cacti_aggregate.jpg
cacti_aggregate.jpg (60.95 KiB) Viewed 11910 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Which graphs did you select before seeing this screen?
Reinhard
rheadly
Posts: 3
Joined: Tue Feb 10, 2009 9:09 pm

Post by rheadly »

I selected two active graphs, both using the "Interface - Traffic (bits/sec)" template.

I tried turning debug on (at least I think I did - Settings, Poller Logging Level --> Debug), but I still did not get any messages indicating a problem.

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

Post by gandalf »

Hmm. I will have to set up aggregate for 087d to verify. Did not yet check the new PIA
Reinhard
hjblok
Posts: 1
Joined: Wed May 27, 2009 6:30 am

already fixed?

Post by hjblok »

Is there already a fix for this problem? I'm currently using:
- cacti 0.8.7d
- PIA 2.4
- aggregate 0.71
--

HJ
RyanBLynch
Posts: 4
Joined: Wed May 27, 2009 3:53 pm

Post by RyanBLynch »

I'm currently experiencing the same problem, using Cacti 0.8.7d, PIA 2.4, and Aggregate 0.71.

My experience mirrors the original poster's. I check the boxes for the desired component graphs (Memcache - Cache Hits and Misses) in the "Graph Management" view and select "Create Aggregate Graph", and press the button 'go'.

On the next page, instead of what's described in the docs, I just see the title "Create Aggregate Graph" and a pair of buttons labelled "no" and "yes". Nothing else. Pressing either button returns me to the "Graph Management" view, but no aggregate graphs are created.

The logs show nothing, even at the highest debug setting.

Finally, I keep getting a message that there is an update available for the plugin. But there's no update (higher than 0.71, anyway) visible anywhere. Where could the update-checker be looking for a plugin that I can't see?

FTR, here's my configuration:
Cacti Version - 0.8.7d
Plugin Architecture - 2.4
Poller Type - CMD.php
Server Info - Linux 2.6.29.4-162.fc11.x86_64
Web Server - Apache/2.2.11 (Fedora)
PHP - 5.2.9
PHP Extensions - libxml, xml, tokenizer, session, pcre, SimpleXML, sockets, SPL, shmop, standard, Reflection, iconv, hash, gmp, gettext, ftp, filter, exif, date, ctype, calendar, bz2, zlib, openssl, apache2handler, curl, dbase, json, ldap, memcache, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, zip, xdebug
MySQL - 5.1.32
RRDTool - 1.3.8
SNMP - 5.4.2.1
Plugins
  • Create Aggregate Graphs (aggregate - v0.71)
    Large Site Performane Booster (boost - v2.4)
    Network Discovery (discovery - v0.8.5)
    Host Info (hostinfo - v0.2)
    Login Page Mod (loginmod - v1.0)
    Global Plugin Settings (settings - v0.5)
    SSL Redirector (ssl - v0.1)
    Thresholds (thold - v0.4.1)
    Network Tools (tools - v0.3)
    Update Checker (update - v0.4)
RyanBLynch
Posts: 4
Joined: Wed May 27, 2009 3:53 pm

SOLVED

Post by RyanBLynch »

A quick trip to the bug-tracker, and I found an answer:

* http://bugs.cacti.net/view.php?id=1435

I had the 'thold' plugin (Threshold) installed, and it prevents Aggregate from working. I removed it, and now I can create aggregate graphs, just as the docs describe.
ari
Posts: 24
Joined: Fri Jan 08, 2010 10:29 am

Re: SOLVED

Post by ari »

RyanBLynch wrote:A quick trip to the bug-tracker, and I found an answer:

* http://bugs.cacti.net/view.php?id=1435

I had the 'thold' plugin (Threshold) installed, and it prevents Aggregate from working. I removed it, and now I can create aggregate graphs, just as the docs describe.

I ran into the same issue. Also using thold 0.4.1; I applied the modifications listed in the bug-tracker, the aggregate configuration screen started to show up, however after configuring the aggregate options and hitting "Yes", nothing happened. This was with thold "modified" but not disabled.

I found that when temporarily disabling thold, then the aggregate graph is indeed created per documentation. Re-Enabling thold after the aggregate creation seems to work fine as well (both thold and the aggregate graph work).

It's a bit of a nuisance but it works.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This sounds like two patches are required, one for action_prepare and a similar one for action_execute.
R.
ari
Posts: 24
Joined: Fri Jan 08, 2010 10:29 am

Post by ari »

gandalf wrote:This sounds like two patches are required, one for action_prepare and a similar one for action_execute.
R.
well I applied both of them, same behavior. I still need to disable thold when creating the aggregates, and re-enable it afterwards, otherwise the aggregate creation silently fails

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

Post by gandalf »

Please know, that aggregate 0.71 is old. That won't solve your problem. But please verify to run latest thold as well. I only knew that _one_ problem occurs. The second issue is new to me.
You may want to post a bug report against thold.
R.
ari
Posts: 24
Joined: Fri Jan 08, 2010 10:29 am

Post by ari »

gandalf wrote:Please know, that aggregate 0.71 is old. That won't solve your problem. But please verify to run latest thold as well. I only knew that _one_ problem occurs. The second issue is new to me.
You may want to post a bug report against thold.
R.
Hi Gandalf - this is with Aggregate 0.74, latest available in http://docs.cacti.net/plugin:aggregate

I am running the latest stable thold. I did the two modifications in setup.php of thold - after that, aggregate starts showing up as an option in Graph Management, however after selecting "Create Aggregate" and clicking Go, nothing happens if Thold is enabled. I found that by temporarily disabling Thold I can create the aggregates, and I can enable it back afterwards and the aggregates keep working.

I am not sure if this is a thold bug or what - I will try and investigate a bit further.

BTW thanks a lot for the Aggregate Plugin - it took me a while to understand it (particularly the "preparation work" is complex for us newbies: modifying the original graph templates to make the second plotted variable negative and so on) but the result is well worth the effort.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests