weathermap won't update links randomly

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
acornu
Posts: 16
Joined: Sat Mar 18, 2006 6:52 pm

weathermap won't update links randomly

Post by acornu »

Hi,

I upgraded Cacti v0.8.7e recently, and since then my weathermaps (v0.97a) won't update the % link utilization randomly (some will show the actual usage, some will show 0.00%, then change at the next polling cycle).
The graphs looks ok, and no major errors are seen in the logs.

I went through the install guide many times, no luck. any idea what I should look at?

thanks in advance,
Alex
[b]Cacti Version[/b]: 0.8.7e - [b]Plugin Architecture[/b]: v2.6 - [b]Poller Type[/b]: spine - [b]Server Info[/b]: Linux (CentOS5) 2.6.18-164.15.1.el5 - [b]Web Server[/b]: Apache/2.2.3 (CentOS) - [b]PHP[/b]: 5.1.6 - [b]MySQL[/b]: 5.0.77 - [b]RRDTool[/b]: 1.3.7 - [b]SNMP[/b]: 5.3.2.2
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

What targets are you using (dsstats, rrd, rrd+poller_output)?

What messages are there for WEATHERMAP in the log?

The graphs don't show 0 for these times, I assume?
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!)
acornu
Posts: 16
Joined: Sat Mar 18, 2006 6:52 pm

Post by acornu »

Howie wrote:What targets are you using (dsstats, rrd, rrd+poller_output)?

What messages are there for WEATHERMAP in the log?

The graphs don't show 0 for these times, I assume?
thanks howie for the reply.

The targets are using rrd, something like <path to cacti>/rra/host_name_traffic_in_####.rrd


Stats logs, no error recorded:

06/05/2010 01:50:17 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Sat, 05 Jun 2010 13:50:17 EDT: 2 maps were run in 3 seconds with 0 warnings.
06/05/2010 01:50:16 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Sat, 05 Jun 2010 13:50:16 EDT: 2 maps were run in 2 seconds with 0 warnings.
06/05/2010 01:50:15 PM - WEATHERMAP: Poller[0] DEBUG: [Init@WeatherMapDataSource_dsstats.php:21] [Map 2] weathermap.conf: ReadData DSStats: DSStats plugin not enabled (new-style). [DSSTATS002B]
06/05/2010 01:50:15 PM - WEATHERMAP: Poller[0] DEBUG: [Init@WeatherMapDataSource_dsstats.php:21] [Map 2] weathermap.conf: ReadData DSStats: DSStats plugin not enabled (new-style). [DSSTATS002B]
06/05/2010 01:50:14 PM - WEATHERMAP: Poller[0] DEBUG: [Init@WeatherMapDataSource_dsstats.php:21] [Map 8] mall-core.conf: ReadData DSStats: DSStats plugin not enabled (new-style). [DSSTATS002B]
06/05/2010 01:50:14 PM - WEATHERMAP: Poller[0] DEBUG: [Init@WeatherMapDataSource_dsstats.php:21] [Map 8] mall-core.conf: ReadData DSStats: DSStats plugin not enabled (new-style). [DSSTATS002B]
06/05/2010 01:50:14 PM - SYSTEM THOLD STATS: Time:0.0084 Tholds:0 Hosts:0
06/05/2010 01:50:14 PM - SYSTEM STATS: Time:13.3829 Method:spine Processes:10 Threads:32 Hosts:254 HostsPerProcess:26 DataSources:9796 RRDsProcessed:5010
06/05/2010 01:50:14 PM - SYSTEM THOLD STATS: Time:0.0084 Tholds:0 Hosts:0

And yes, the graphs are actually showing traffic (not 0).

The only change that was done, was to upgrade to 0.8.7e.
[b]Cacti Version[/b]: 0.8.7e - [b]Plugin Architecture[/b]: v2.6 - [b]Poller Type[/b]: spine - [b]Server Info[/b]: Linux (CentOS5) 2.6.18-164.15.1.el5 - [b]Web Server[/b]: Apache/2.2.3 (CentOS) - [b]PHP[/b]: 5.1.6 - [b]MySQL[/b]: 5.0.77 - [b]RRDTool[/b]: 1.3.7 - [b]SNMP[/b]: 5.3.2.2
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

OK - then you'll need to run a poller cycle with DEBUG logging (in the Cacti settings).

You'll get a LOT more information, but you are looking for the lines mentioning ReadData. You should see what is being fetched from the rrd file, and which values are chosen from that.

Catching one of the random zeros could be fun though. :-)
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 0 guests