Map generated only manually - SOLVED SEE PAGE 3
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Perhaps an older rrdtool? 1.3.1?
I've never seen one that does this before, so I assume it's a new thing...
I've never seen one that does this before, so I assume it's a new thing...
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!)
this info about a rrd :
all numbers are stored with ',' and not '.'
rrdtool info plop_traffic_in_8.rrd
filename = "plop_traffic_in_8.rrd"
rrd_version = "0003"
step = 300
last_update = 1228234202
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0,0000000000e+00
ds[traffic_in].max = 4,0000000000e+07
ds[traffic_in].last_ds = "3518736062"
ds[traffic_in].value = 1,8904242400e+06
ds[traffic_in].unknown_sec = 0
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0,0000000000e+00
ds[traffic_out].max = 4,0000000000e+07
ds[traffic_out].last_ds = "2057256814"
ds[traffic_out].value = 4,9156775200e+06
ds[traffic_out].unknown_sec = 0
all numbers are stored with ',' and not '.'
hi,
i have a new server with red hat server 5 with cacti 0.8.7d and weathermap 0.96a
locales are ok :
locale
LANG=en_US
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
but i still have some links with 0 bits/sec (and they should not)
any idea ?
thanks
i have a new server with red hat server 5 with cacti 0.8.7d and weathermap 0.96a
locales are ok :
locale
LANG=en_US
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
but i still have some links with 0 bits/sec (and they should not)
06/18/2009 03:15:47 PM - WEATHERMAP: Poller[0] WARNING: [Map 1] altair.conf: ReadData: LINK RTR-NAT-1-NOKIA-1, target: /var/www/cacti/rra/routeur_nattage_3845-1_traffic_in_11580.rrd on config line 239 had no valid data, according to WeatherMapDataSource_rrd
any idea ?
thanks
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yes, run with DEBUG for one poller cycle, and then check the cacti.log for ReadData lines about RTR-NAT-1-NOKIA-1tomate wrote:hi,
i have a new server with red hat server 5 with cacti 0.8.7d and weathermap 0.96a
locales are ok :
locale
LANG=en_US
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
but i still have some links with 0 bits/sec (and they should not)
06/18/2009 03:15:47 PM - WEATHERMAP: Poller[0] WARNING: [Map 1] altair.conf: ReadData: LINK RTR-NAT-1-NOKIA-1, target: /var/www/cacti/rra/routeur_nattage_3845-1_traffic_in_11580.rrd on config line 239 had no valid data, according to WeatherMapDataSource_rrd
any idea ?
thanks
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!)
this what i have :
06/18/2009 03:35:01 PM - WEATHERMAP: Poller[0] DEBUG: [MakeHTML@Weathermap.class.php:3295] [Map 1] altair.conf: Writing LINK:RTR-NAT-1-NOKIA-1: from imagemap
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [DrawLabelRotated@Weathermap.class.php:963] [Map 1] altair.conf: Adding Rectangle imagemap for LINK:RTR-NAT-1-NOKIA-1:3
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:564] [Map 1] altair.conf: ProcessString: Found appropriate item: WeatherMapLink RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [DrawLabelRotated@Weathermap.class.php:963] [Map 1] altair.conf: Adding Rectangle imagemap for LINK:RTR-NAT-1-NOKIA-1:2
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:564] [Map 1] altair.conf: ProcessString: Found appropriate item: WeatherMapLink RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [draw_curve@WeatherMap.functions.php:1153] [Map 1] altair.conf: Adding Poly imagemap for LINK:RTR-NAT-1-NOKIA-1:0
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [draw_curve@WeatherMap.functions.php:1153] [Map 1] altair.conf: Adding Poly imagemap for LINK:RTR-NAT-1-NOKIA-1:1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2832] [Map 1] altair.conf: Drawing LINK RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 1] altair.conf: Adding note outscalecolor='#ffffff' to RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 1] altair.conf: Adding note inscalecolor='#ffffff' to RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 1] altair.conf: Adding note outscaletag='' to RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 1] altair.conf: Adding note inscaletag='' to RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 1] altair.conf: Adding note outscalekey='0_1' to RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 1] altair.conf: Adding note inscalekey='0_1' to RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 1] altair.conf: NCFPC RTR-NAT-1-NOKIA-1 '' 0_1 255 255 255
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 1] altair.conf: NCFPC RTR-NAT-1-NOKIA-1 '' 0_1 255 255 255
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:837] [Map 1] altair.conf: ReadData complete for LINK RTR-NAT-1-NOKIA-1: 0 0
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] WARNING: [Map 1] altair.conf: ReadData: LINK RTR-NAT-1-NOKIA-1, target: /var/www/cacti/rra/routeur_nattage_3845-1_traffic_in_11580.rrd on config line 275 had no valid data, according to WeatherMapDataSource_rrd
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 1] altair.conf: ReadData for LINK RTR-NAT-1-NOKIA-1:
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2401] [Map 1] altair.conf: Setting bandwidth on LINK RTR-NAT-1-NOKIA-1 (100M -> 100000000 bps, 100M -> 100000000 bps, KILO = 1000)
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:1623] [Map 1] altair.conf: Saving Link: RTR-NAT-1-NOKIA-1
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapLink.class.php:141] [Map 1] altair.conf: Initialising LINK RTR-NAT-1-NOKIA-1 from DEFAULT
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapLink.class.php:116] [Map 1] altair.conf: Resetting RTR-NAT-1-NOKIA-1 with DEFAULT
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:1652] [Map 1] altair.conf: New LINK RTR-NAT-1-NOKIA-1
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
No, you need the lines after this one:
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:837] [Map 1] altair.conf: ReadData complete for LINK RTR-NAT-1-NOKIA-1: 0 0
they will tell you what the output of the rrdtool command is.
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:837] [Map 1] altair.conf: ReadData complete for LINK RTR-NAT-1-NOKIA-1: 0 0
they will tell you what the output of the rrdtool command is.
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!)
ok i think you think about that :Howie wrote:No, you need the lines after this one:
06/18/2009 03:35:00 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:837] [Map 1] altair.conf: ReadData complete for LINK RTR-NAT-1-NOKIA-1: 0 0
they will tell you what the output of the rrdtool command is.
it has worked just before, i don't understand !!06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:611] [Map 1] altair.conf: RRD ReadData: Target DS names are tra\
ffic_in and traffic_out
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:359] [Map 1] altair.conf: RRD ReadData: tra\
ditional style
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:399] [Map 1] altair.conf: RRD ReadData: Run\
ning: /usr/bin/rrdtool fetch /var/www/cacti/rra/routeur_nattage_3845-2_traffic_in_11762.rrd AVERAGE --start now-800 --end now
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] altair.conf: > 1245331200: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] altair.conf: > 1245331500: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] altair.conf: > 1245331800: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] altair.conf: > 1245332100: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] altair.conf: >
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:427] [Map 1] altair.conf: RRD ReadData: Rea\
d 5 lines from rrdtool
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:428] [Map 1] altair.conf: RRD ReadData: Hea\
dings are: traffic_in traffic_out
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] altair.conf: --
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] altair.conf: --1245332100: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] altair.conf: --1245331800: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] altair.conf: --1245331500: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] altair.conf: --1245331200: nan\
nan
06/18/2009 03:31:21 PM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:492] [Map 1] altair.conf: RRD ReadDataFromR\
ealRRD: Returning (NULL,NULL,0)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
So on the cacti graph, I guess you have a gap now... please see the Cacti HOWTO for NaN values in graphs.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Interesting. And if you do Graph Debug in cacti (the little spanner), it shows the same filename as you use for your TARGET? For sure?tomate wrote:no, i do not have gap, except for routeur_nattage_3845-2, but it is normal
i have 10+ links on this map and all are 0 with weathermap, but in cacti it is ok as you cas see here
Because rrdtool isn't returning any data for that rrd file. It does exist, otherwise you'd get a different error. And it isn't related to locale, otherwise you would see something other than nan.
Wait - so you DO have gaps on routeur_nattage_3845-2? Well that is why weathermap shows 0 for that one, and why rrdtool shows nan.
What about one of the other links? What does that say in the debug log ReadData?
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!)
forget routeur_nattage_3845-2, there is no traffic at all on this routerHowie wrote:Interesting. And if you do Graph Debug in cacti (the little spanner), it shows the same filename as you use for your TARGET? For sure?tomate wrote:no, i do not have gap, except for routeur_nattage_3845-2, but it is normal
i have 10+ links on this map and all are 0 with weathermap, but in cacti it is ok as you cas see here
Because rrdtool isn't returning any data for that rrd file. It does exist, otherwise you'd get a different error. And it isn't related to locale, otherwise you would see something other than nan.
Wait - so you DO have gaps on routeur_nattage_3845-2? Well that is why weathermap shows 0 for that one, and why rrdtool shows nan.
What about one of the other links? What does that say in the debug log ReadData?
i have another router, the graph i have posted comes from it, in cacti all is ok :
- Attachments
-
- cacti_graph.JPG (108.31 KiB) Viewed 4535 times
Who is online
Users browsing this forum: No registered users and 0 guests