|
|
| Author |
Message |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Mon Jun 23, 2008 11:15 am Post subject: Link values on WeatherMap showing as 0 |
|
|
Up until about a week ago my WeatherMap was working quite happily, now one of the links is constantly showing a 0 value for traffic even though when you mouse-hover over the link the graph comes up & shows the data - so I know that part is OK.
If I force an update I get the following error in the log file:
| Code: | | 06/23/2008 05:09:53 PM - WEATHERMAP: Poller[0] ReadData: LINK node1189506580-node1189505251, target: D:/cacti/rra/colosw1_traffic_in_3808.rrd on config line 349 had no valid data, according to WeatherMapDataSource_rrd |
Nothing has changed (as far as I know) on the system and all other links are displaying correctly in WeatherMap.
I am running the Boost plugin also but as all the other links are fine I'm not sure that is causing the problem.
Anyone have any idea what it could be? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Jun 23, 2008 11:29 am Post subject: |
|
|
Weathermap doesn't work well with the Boost plugin (in it's default cofiguration) - Boost delays writing results to the rrd files, so when weathermap looks in them for values, you get errors like the one you posted.
Try adding 'SET rrd_use_poller_output 1' at the top of your map config file - this tells weathermap to get data from the poller directly instead. It will take a couple of poller cycles to start working properly. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Mon Jun 23, 2008 11:57 am Post subject: |
|
|
| Pardon the stupid question, but just to be sure, is that weathermap.conf? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Jun 23, 2008 3:52 pm Post subject: |
|
|
| cahonis wrote: | | Pardon the stupid question, but just to be sure, is that weathermap.conf? |
If that's what you called your map, yes. You add it for each map individually. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Jun 24, 2008 3:23 am Post subject: |
|
|
| I have added that line to my .conf file but the link is still showing a value of 0 despite the graph updating. I have let it run for about 4 or 5 polling cycles. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Jun 24, 2008 3:37 am Post subject: |
|
|
| cahonis wrote: | | I have added that line to my .conf file but the link is still showing a value of 0 despite the graph updating. I have let it run for about 4 or 5 polling cycles. |
And what do the logs say now? You shouldn't get the same error if poller_output is being used, but you might get a different one - typically the errors for poller_output are to do with typos in the TARGET line, or a data source that isn't updated. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Jun 24, 2008 6:05 am Post subject: |
|
|
I'm now getting this error:
| Code: | | 06/24/2008 12:03:20 PM - WEATHERMAP: Poller[0] ReadData: LINK node1189506580-node1189505251, target: D:/cacti/rra/colohsw1_traffic_in_3808.rrd on config line 350 had no valid data, according to WeatherMapDataSource_rrd |
Almost identical except it's now referencing line 350 and not 349.
If there was a typo in the TARGET line or the data source wasn't updating I would expect that the graph wouldn't appear when I mouse-over the link? I still get the graph display when I mouse-hover. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Jun 24, 2008 7:59 am Post subject: |
|
|
| cahonis wrote: | I'm now getting this error:
| Code: | | 06/24/2008 12:03:20 PM - WEATHERMAP: Poller[0] ReadData: LINK node1189506580-node1189505251, target: D:/cacti/rra/colohsw1_traffic_in_3808.rrd on config line 350 had no valid data, according to WeatherMapDataSource_rrd |
Almost identical except it's now referencing line 350 and not 349.
If there was a typo in the TARGET line or the data source wasn't updating I would expect that the graph wouldn't appear when I mouse-over the link? I still get the graph display when I mouse-hover. |
No, the hover graph is controlled by OVERLIBGRAPH not TARGET.
That error is from the regular (non-poller_output) RRD data-reading routine. Is there anything special about this target? is it (for example) the only target with a full path, or something like that?
I would suggest running with DEBUG logging for one poller-cycle, but it's your judgement how it would affect you poller performance, if you are using Boost to handle lots of data. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Jun 24, 2008 8:08 am Post subject: |
|
|
Below are the properties for the link that is showing 0:
| Code: | D:/cacti/rra/colohsw1_traffic_in_3808.rrd
/graph.php?rra_id=all&local_graph_id=3169
/graph_image.php?local_graph_id=3169&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300 |
And these are the properties for it's sister link which is working:
| Code: | D:/cacti/rra/colosw2_traffic_in_3842.rrd
/graph.php?rra_id=all&local_graph_id=3203
/graph_image.php?local_graph_id=3203&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300 |
So I don't think it's a path issue or anything to do with the properties of the link in Weathermap.
As I said, this was working fine before and nothing has changed in the configuration of either cacti or weathermap.
I'll run logging in DEBUG mode and post some results. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Jun 24, 2008 8:28 am Post subject: |
|
|
OK, here's the DEBUG log for that link:
| Code: | ReadData for LINK node1189506580-node1189505251:
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] ReadData: New Target: D:/cacti/rra/colosw1_traffic_in_3808.rrd
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] ReadData: Matched for WeatherMapDataSource_rrd. Calling WeatherMapDataSource_rrd->ReadData()
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: Target DS names are traffic_in and traffic_out
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: Running: D:\Cacti\rrdtool\rrdtool.exe fetch D:/cacti/rra/colosw1_traffic_in_3808.rrd AVERAGE --start now-800 --end now
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] > 1214313300: 5.1262392027e+004 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] > 1214313600: 4.8739607407e+004 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] > 1214313900: 5.4506154318e+004 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] > 1214314200: -1.#IND000000e+000 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] >
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: Read 5 lines from rrdtool
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] --
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] --1214314200: -1.#IND000000e+000 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: 1: This isn't a number: [-1.#IND000000e+000]
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: 2: This isn't a number: [-1.#IND000000e+000]
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] --1214313900: 5.4506154318e+004 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: 2: This isn't a number: [-1.#IND000000e+000]
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] --1214313600: 4.8739607407e+004 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: 2: This isn't a number: [-1.#IND000000e+000]
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] --1214313300: 5.1262392027e+004 -1.#IND000000e+000
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: 2: This isn't a number: [-1.#IND000000e+000]
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] RRD ReadData: Returning (-1,-1,0)
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] ReadData: LINK node1189506580-node1189505251, target: D:/cacti/rra/colosw1_traffic_in_3808.rrd on config line 350 had no valid data, according to WeatherMapDataSource_rrd
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] ReadData: Setting 0,0
06/24/2008 02:26:16 PM - WEATHERMAP: Poller[0] |
Also getting this in the log about 2 minutes later:
| Code: | | 06/24/2008 02:28:35 PM - WEATHERMAP: Poller[0] ReadData: LINK node1189506580-node1189505251, target: D:/cacti/rra/colosw1_traffic_in_3808.rrd on config line 350 had no valid data, according to WeatherMapDataSource_rrd |
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Tue Jun 24, 2008 8:48 am Post subject: |
|
|
None of those lines contain valid data in both the traffic_in and traffic_out ds.
Does your graph show BOTH an in and out? |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Tue Jun 24, 2008 10:50 am Post subject: |
|
|
OK, looked into this further and it appears that this link has been like this since October (so I'm told).
The graph no longer has In & Out, only In so I'll need to investigate that first I think. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Wed Jun 25, 2008 3:26 am Post subject: |
|
|
I have compared the data sources for this monitored switch port to it's sister port on the other switch and can find nothing wrong with the setup.
It appears that the graph just stopped getting data for Out. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Jun 30, 2008 2:01 am Post subject: |
|
|
| cahonis wrote: | I have compared the data sources for this monitored switch port to it's sister port on the other switch and can find nothing wrong with the setup.
It appears that the graph just stopped getting data for Out. |
OK - well that's a Cacti/poller issue rather than weathermap... start a new thread in the Support General forum? Check gandalf's troubleshooting tips in the docs tab (up the top of this page) too. |
|
| Back to top |
|
 |
cahonis
Joined: 06 Jun 2008 Posts: 48
|
Posted: Thu Jul 03, 2008 6:45 am Post subject: |
|
|
Very weird.
For some reason the graph was not updating.
I messed around with it for a while and after changing the data sources to something else and then back to their original settings the graph worked once again - meaning it seems unlikely the poller wasn't retrieving data.
Any idea what caused this as I have noticed this on quite a few of the graphs on this system? |
|
| Back to top |
|
 |
|