[SOLVED] cacti_graph_id=0

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
sh0x
Posts: 32
Joined: Thu Aug 30, 2007 6:12 pm
Location: California

[SOLVED] cacti_graph_id=0

Post by sh0x »

After an upgrade from weathermap .96a to to .97test4 my maps are setting cacti_graph_id=0 so the overlibgraphs break. I'm using cacti 0.8.7e with dsstats 1.1-1 and boost 1.5 with weathermap and rrd_use_poller_output set to 1.

DEBUG: [add_note@Weathermap.class.php:106] [Map 28] Webseal: Adding note cacti_graph_id='0'

Everything else seems to work ok and the other hints set correctly. I copy back .96a and its all good. What am I missing? Thanks.
Last edited by sh0x on Fri Feb 19, 2010 7:50 pm, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: cacti_graph_id=0

Post by Howie »

sh0x wrote:After an upgrade from weathermap .96a to to .97test4 my maps are setting cacti_graph_id=0 so the overlibgraphs break. I'm using cacti 0.8.7e with dsstats 1.1-1 and boost 1.5 with weathermap and rrd_use_poller_output set to 1.

DEBUG: [add_note@Weathermap.class.php:106] [Map 28] Webseal: Adding note cacti_graph_id='0'

Everything else seems to work ok and the other hints set correctly. I copy back .96a and its all good. What am I missing? Thanks.
Are you using dsstats or rrdtool for your TARGETs?
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!)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

I think I have found this one. It affects both poller_output and dsstats support.

The fix is simple though.

Change the $ldi to $local_data_id on the very end of line 45 of lib/ds-common.php

This will be in the next release (I expect 0.97a in a week or so)
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!)
sh0x
Posts: 32
Joined: Thu Aug 30, 2007 6:12 pm
Location: California

that did it!

Post by sh0x »

Finally got back to this, thanks Howie that seemed to do the trick.. though I see you made an official release of test4 yesterday so I should probably grab it at this point. :)

Thanks again Howie!
sh0x
Posts: 32
Joined: Thu Aug 30, 2007 6:12 pm
Location: California

still broken in .97 release

Post by sh0x »

Just tried the official .97 release, looks like the change is still needed to ds-common.php for $ldi to $local_data_id.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

This is actually fixed in svn, and will be in 0.97a. I think I have cleared my reported buglist now, so 0.97a should be very soon, with about a dozen bugs fixed and a few small features.

(test4 came out in November, 0.97 came out Jan 18th, 3 days before I said 'I have found this one'... so neither would have had the fix)
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest