View traffic & error stats
Moderators: Developers, Moderators
I have working traffic link which I want to monitor for errors. But I am getting some error messages in the log;
02/06/2010 02:17:00 PM - WEATHERMAP: Poller[0] WARNING: [Map 85] MAPNAME: ReadData: LINK NODE1-NODE2_err, target: /var/www/cacti/rra/node2_errors_in_38776.rrd:errors_in:- on config line 744 had no valid data, according to WeatherMapDataSource_rrd
02/06/2010 02:17:00 PM - WEATHERMAP: Poller[0] WARNING: [Map 85] MAPNAME: ReadData: LINK NODE1-NODE2_err, target: /var/www/cacti/rra/node1_errors_in_38766.rrd:-:errors_in on config line 744 had no valid data, according to WeatherMapDataSource_rrd
The entry in the config file is:
LINK NODE1-NODE2_err
NODES NODE1 NODE2
BWLABEL none
WIDTH 4
OUTLINECOLOR none
USESCALE errors
TARGET /var/www/cacti/rra/node1_errors_in_38766.rrd:-:errors_in /var/www/cacti/rra/node2_errors_in_38776.rrd:errors_in:-
ZORDER 250
Does this look correct? Any ideas about the log entries?
02/06/2010 02:17:00 PM - WEATHERMAP: Poller[0] WARNING: [Map 85] MAPNAME: ReadData: LINK NODE1-NODE2_err, target: /var/www/cacti/rra/node2_errors_in_38776.rrd:errors_in:- on config line 744 had no valid data, according to WeatherMapDataSource_rrd
02/06/2010 02:17:00 PM - WEATHERMAP: Poller[0] WARNING: [Map 85] MAPNAME: ReadData: LINK NODE1-NODE2_err, target: /var/www/cacti/rra/node1_errors_in_38766.rrd:-:errors_in on config line 744 had no valid data, according to WeatherMapDataSource_rrd
The entry in the config file is:
LINK NODE1-NODE2_err
NODES NODE1 NODE2
BWLABEL none
WIDTH 4
OUTLINECOLOR none
USESCALE errors
TARGET /var/www/cacti/rra/node1_errors_in_38766.rrd:-:errors_in /var/www/cacti/rra/node2_errors_in_38776.rrd:errors_in:-
ZORDER 250
Does this look correct? Any ideas about the log entries?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
That looks OK. Run with DEBUG logging for one poller cycle, and then look in the log for lines with ReadData in them - you'll see what rrdtool is returning, and what the plugin thinks about it.
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!)
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!)
Here is what was returned (I removed entries containing "add_note@Weathermap.class.php").
Any insight, Howie?
Things look OK, so I am not sure why it is giving warnings. Unless it is because everything is 0 (the link was error-free when the poll was run) ?02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 85] MAPNAME: ReadData for LINK NODE1-NODE2_err:
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:737] [Map 85] MAPNAME: ReadData: New Target: /var/www/cacti/rra/node1_errors_in_38766.rrd:-:errors_in
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:781] [Map 85] MAPNAME: ReadData: Matched for WeatherMapDataSource_rrd. Calling WeatherMapDataSource_rrd->ReadData()
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:533] [Map 85] MAPNAME: Special DS names seen (- and errors_in).
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:553] [Map 85] MAPNAME: SCALING result by 8
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:596] [Map 85] MAPNAME: Going to try poller_output, as requested.
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:71] [Map 85] MAPNAME: RRD ReadData: poller_output style
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:80] [Map 85] MAPNAME: ******************************************************************Checking weathermap_data
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:83] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 0 value
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:206] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is '-'
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:83] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 1 value
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:86] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is errors_in
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:127] [Map 85] MAPNAME: RRD ReadData: poller_output - found weathermap_data row
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:133] [Map 85] MAPNAME: RRD ReadData: poller_output - data looks valid
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:215] [Map 85] MAPNAME: RRD ReadData: poller_output - result is NULL,902
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:216] [Map 85] MAPNAME: RRD ReadData: poller_output - ended
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:641] [Map 85] MAPNAME: RRD ReadData: Returning (NULL,7216,1265817302)
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] WARNING: [Map 85] MAPNAME: ReadData: LINK NODE1-NODE2_err, target: /var/www/cacti/rra/node1_errors_in_38766.rrd:-:errors_in on config line 744 had no valid data, according to WeatherMapDataSource_rrd
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:824] [Map 85] MAPNAME: Aggregate so far: 0 0
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:831] [Map 85] MAPNAME: DataTime MINMAX: 1265817302 -> 1265817350
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:737] [Map 85] MAPNAME: ReadData: New Target: /var/www/cacti/rra/node2_errors_in_38776.rrd:errors_in:-
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:781] [Map 85] MAPNAME: ReadData: Matched for WeatherMapDataSource_rrd. Calling WeatherMapDataSource_rrd->ReadData()
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:533] [Map 85] MAPNAME: Special DS names seen (errors_in and -).
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:553] [Map 85] MAPNAME: SCALING result by 8
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:596] [Map 85] MAPNAME: Going to try poller_output, as requested.
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:71] [Map 85] MAPNAME: RRD ReadData: poller_output style
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:80] [Map 85] MAPNAME: ******************************************************************
Checking weathermap_data
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:83] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 0 value
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:86] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is errors_in
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:127] [Map 85] MAPNAME: RRD ReadData: poller_output - found weathermap_data row
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:133] [Map 85] MAPNAME: RRD ReadData: poller_output - data looks valid
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:83] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 1 value
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:206] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is '-'
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:215] [Map 85] MAPNAME: RRD ReadData: poller_output - result is 51,NULL
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:216] [Map 85] MAPNAME: RRD ReadData: poller_output - ended
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:641] [Map 85] MAPNAME: RRD ReadData: Returning (408,NULL,1265817333)
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] WARNING: [Map 85] MAPNAME: ReadData: LINK NODE1-NODE2_err, target: /var/www/cacti/rra/node2_errors_in_38776.rrd:errors_in:- on config line 744 had no valid data, according to WeatherMapDataSource_rrd
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:824] [Map 85] MAPNAME: Aggregate so far: 0 0
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:831] [Map 85] MAPNAME: DataTime MINMAX: 1265817302 -> 1265817350
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:837] [Map 85] MAPNAME: ReadData complete for LINK NODE1-NODE2_err: 0 0
Any insight, Howie?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Code: Select all
02/10/2010 04:57:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:641] [Map 85] MAPNAME: RRD ReadData: Returning (408,NULL,1265817333)
# DS plugins that return one value and a null should work properly
Keep an eye out for 0.97a if this isn't urgent - there are another 10 bugfixes stacked up in that one.
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!)
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!)
I could not wait for 0.97a after all.
I installed 0.97, but now both of my links are showing as red and looking at the log i get values on both links, altho the link is error free (I double checked).
I installed 0.97, but now both of my links are showing as red and looking at the log i get values on both links, altho the link is error free (I double checked).
Still an issue with NULL ? Is this something that will work with 0.97a or is there something wrong at my end?02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:884] [Map 85] MAPNAME: ReadData for LINK NODE1-NODE2_err:
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:893] [Map 85] MAPNAME: ReadData: New Target: /var/www/cacti/rra/node1_errors_in_38766.rrd:-:errors_in
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:496] [Map 85] MAPNAME: Special DS names seen (- and errors_in).
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:516] [Map 85] MAPNAME: SCALING result by 8
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:559] [Map 85] MAPNAME: Going to try poller_output, as requested.
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:73] [Map 85] MAPNAME: RRD ReadData: poller_output style
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:82] [Map 85] MAPNAME: ******************************************************************
Checking weathermap_data
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:85] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 0 value
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:169] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is '-'
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:85] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 1 value
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:88] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is errors_in
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:131] [Map 85] MAPNAME: RRD ReadData: poller_output - found weathermap_data row
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:137] [Map 85] MAPNAME: RRD ReadData: poller_output - data looks valid
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:178] [Map 85] MAPNAME: RRD ReadData: poller_output - result is NULL,986
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:179] [Map 85] MAPNAME: RRD ReadData: poller_output - ended
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:616] [Map 85] MAPNAME: RRD ReadData: Returning (NULL,7888,1266250202)
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:942] [Map 85] MAPNAME: Aggregate so far: 0 7888
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:949] [Map 85] MAPNAME: DataTime MINMAX: 1266250202 -> 1266250248
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:893] [Map 85] MAPNAME: ReadData: New Target: /var/www/cacti/rra/node2_errors_in_38776.rrd:errors_in:-
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:496] [Map 85] MAPNAME: Special DS names seen (errors_in and -).
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:516] [Map 85] MAPNAME: SCALING result by 8
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:559] [Map 85] MAPNAME: Going to try poller_output, as requested.
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:73] [Map 85] MAPNAME: RRD ReadData: poller_output style
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:82] [Map 85] MAPNAME: ******************************************************************
Checking weathermap_data
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:85] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 0 value
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:88] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is errors_in
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:131] [Map 85] MAPNAME: RRD ReadData: poller_output - found weathermap_data row
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:137] [Map 85] MAPNAME: RRD ReadData: poller_output - data looks valid
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:85] [Map 85] MAPNAME: RRD ReadData: poller_output - looking for 1 value
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:169] [Map 85] MAPNAME: RRD ReadData: poller_output - DS name is '-'
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:178] [Map 85] MAPNAME: RRD ReadData: poller_output - result is 51,NULL
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:179] [Map 85] MAPNAME: RRD ReadData: poller_output - ended
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:616] [Map 85] MAPNAME: RRD ReadData: Returning (408,NULL,1266250235)
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:942] [Map 85] MAPNAME: Aggregate so far: 408 7888
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:949] [Map 85] MAPNAME: DataTime MINMAX: 1266250202 -> 1266250248
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:956] [Map 85] MAPNAME: ReadData complete for LINK NODE1-NODE2_err: 408 7888
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1248] [Map 85] MAPNAME: NCFPC NODE1-NODE2_err errors 4.08E-06 '' 0_100 255 0 0
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1248] [Map 85] MAPNAME: NCFPC NODE1-NODE2_err errors 7.888E-05 '' 0_100 255 0 0
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:1023] [Map 85] MAPNAME: ReadData: Setting 408,7888
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Code: Select all
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:956] [Map 85] MAPNAME: ReadData complete for LINK NODE1-NODE2_err: 408 7888
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1248] [Map 85] MAPNAME: NCFPC NODE1-NODE2_err errors 4.08E-06 '' 0_100 255 0 0
Anyway, it appears you have a scale where any value between 0 and 100% goes red. The value is between 0 and 100%.
Seems to be working fine to me.
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!)
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!)
My error scale looks like:Howie wrote:What is the BANDWIDTH set to on the error link? 4x10^-6 is quite a small number.Code: Select all
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:956] [Map 85] MAPNAME: ReadData complete for LINK NODE1-NODE2_err: 408 7888 02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1248] [Map 85] MAPNAME: NCFPC NODE1-NODE2_err errors 4.08E-06 '' 0_100 255 0 0
Anyway, it appears you have a scale where any value between 0 and 100% goes red. The value is between 0 and 100%.
Seems to be working fine to me.
SCALE errors 0 0 none
SCALE errors 0 100 255 0 0
which I "stole" from this thread.
I assumed it was to be blank when the value was 0 and red when the value was something else (above 0).
BANDWIDTH is set to 10G which is default for new links. I didnt think the BANDWIDTH variable was important in this type of graph?
What are the 408 and 7888 values that are returned? The link is (at the moment) error-free, so I would expect it to come back with 0 and 0.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
408 and 7888 are the results of adding up the targets. Which is why the resulting percentage is non-zero, which is why it's red.2par wrote:My error scale looks like:Howie wrote:What is the BANDWIDTH set to on the error link? 4x10^-6 is quite a small number.Code: Select all
02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:956] [Map 85] MAPNAME: ReadData complete for LINK NODE1-NODE2_err: 408 7888 02/15/2010 05:11:19 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1248] [Map 85] MAPNAME: NCFPC NODE1-NODE2_err errors 4.08E-06 '' 0_100 255 0 0
Anyway, it appears you have a scale where any value between 0 and 100% goes red. The value is between 0 and 100%.
Seems to be working fine to me.
SCALE errors 0 0 none
SCALE errors 0 100 255 0 0
which I "stole" from this thread.
I assumed it was to be blank when the value was 0 and red when the value was something else (above 0).
BANDWIDTH is set to 10G which is default for new links. I didnt think the BANDWIDTH variable was important in this type of graph?
What are the 408 and 7888 values that are returned? The link is (at the moment) error-free, so I would expect it to come back with 0 and 0.
So I guess the next step is to take a look at what data Cacti is actually collecting.
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!)
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!)
I went back to my debug log and checked the "rrd info" on the rrd files.Howie wrote:So I guess the next step is to take a look at what data Cacti is actually collecting.
I came up with this:
Link1 wrote:node1:
cacti debug log:
WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:178] [Map 85] MAPNAME: RRD ReadData: poller_output - result is NULL,1039
WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:616] [Map 85] MAPNAME: RRD ReadData: Returning (NULL,8312,1266337802)
WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:942] [Map 85] MAPNAME: Aggregate so far: 0 8312
rrdtool info node1:
ds[errors_in].last_ds = "1039"
ds[errors_in].value = 0.0000000000e+00
node2:
cacti debug log:
WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:178] [Map 85] MAPNAME: RRD ReadData: poller_output - result is 63,NULL
WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:616] [Map 85] MAPNAME: RRD ReadData: Returning (504,NULL,1266337836)
WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:942] [Map 85] MAPNAME: Aggregate so far: 504 8312
rrdtool info node2:
ds[errors_in].last_ds = "63"
ds[errors_in].value = 0.0000000000e+00
I fear I am out of my depth here. All I can see is that it is reading the ds[errors_in].last_ds entry and using it. The other numbers I am unsure about, but I am confused why it is not using the ds[errors_in].value entry.Link2 wrote:node3:
cacti debug log:
WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:178] [Map 85] MAPNAME: RRD ReadData: poller_output - result is NULL,33
WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:616] [Map 85] MAPNAME: RRD ReadData: Returning (NULL,264,1266337809)
WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:942] [Map 85] MAPNAME: Aggregate so far: 0 264
rrdtool info node3:
ds[errors_in].last_ds = "33"
ds[errors_in].value = 0.0000000000e+00
node4:
cacti debug log:
WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_poller_output@WeatherMapDataSource_rrd.php:178] [Map 85] MAPNAME: RRD ReadData: poller_output - result is 14,NULL
WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:616] [Map 85] MAPNAME: RRD ReadData: Returning (112,NULL,1266337833)
WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:942] [Map 85] MAPNAME: Aggregate so far: 112 264
rrdtool info node4:
ds[errors_in].last_ds = "14"
ds[errors_in].value = 0.0000000000e+00
If this is basic cacti information, I'd be grateful if anyone can point me in the right direction. I did various seraching on the forum, but failed to find anything of relevance to this matter.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
It would be useful to try removing the 'rrd_use_poller_output' line from the config, and see if it makes any difference (assuming you aren't using Boost). That way, Weathermap will be reading the rrd file (at the moment it is reading data direct from the poller, using completely different code).
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!)
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!)
After commenting out "rrd_use_poller_output" things look better.
All nodes return:
All nodes return:
It concludes with:WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:421] [Map 85] MAPNAME: 0.0000000000e+00 is OK value for errors_in
WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:455] [Map 85] MAPNAME: RRD ReadDataFromRealRRD: Returning (0,0.0000000000e+00,1266357900)
WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:616] [Map 85] MAPNAME: RRD ReadData: Returning (0,0,1266357900)
WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:942] [Map 85] MAPNAME: Aggregate so far: 0 0
The error links no longer show as red (since value is 0). Now I need to find a link with errors to test it futher.WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:1023] [Map 85] MAPNAME: ReadData: Setting 0,0
Who is online
Users browsing this forum: No registered users and 0 guests