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:
And what does that say in the cacti.log with DEBUG turned on?
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 ran again in debug and chatty mode, and I see NaN in the logs :
in command line it's workingDEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:399] [Map 1] .conf: RRD ReadData: Running: /usr/bin/rrdtool fetch /var/www/cacti/rra/-swa_traffic_in_11583.rrd AVERAGE --start now-800 --end now
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] .conf: > 1245397200: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] .conf: > 1245397500: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] .conf: > 1245397800: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] .conf: > 1245398100: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:419] [Map 1] .conf: >
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:427] [Map 1] .conf: RRD ReadData: Read 5 lines from rrdtool
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:428] [Map 1] .conf: RRD ReadData: Headings are: traffic_in traffic_out
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] .conf: --
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] .conf: --1245398100: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] .conf: --1245397800: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] .conf: --1245397500: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:437] [Map 1] .conf: --1245397200: nan nan
DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:492] [Map 1] .conf: RRD ReadDataFromRealRRD: Returning (NULL,NULL,0)
DEBUG: [ReadData@WeatherMapDataSource_rrd.php:641] [Map 1] .conf: RRD ReadData: Returning (NULL,NULL,0)
WARNING: [Map 1] .conf: ReadData: LINK dty--swa-dty--swc-G1/1, target: /var/www/cacti/rra/-swa_traffic_in_11583.rrd on config line 167 had no valid data, according to WeatherMapDataSource_rrd
DEBUG: [ReadData@Weathermap.class.php:824] [Map 1] .conf: Aggregate so far: 0 0
DEBUG: [ReadData@Weathermap.class.php:837] [Map 1] .conf: ReadData complete for LINK dty--swa-dty--swc-G1/1: 0 0
DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 1] .conf: NCFPC dty--swa-dty--swc-G1/1 '' 0_1 255 255 255
DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 1] .conf: NCFPC dty--swa-dty--swc-G1/1 '' 0_1 255 255 255
DEBUG: [add_note@Weathermap.class.php:89] [Map 1] .conf: Adding note inscalekey='0_1' to dty--swa-dty--swc-G1/1
DEBUG: [add_note@Weathermap.class.php:89] [Map 1] .conf: Adding note outscalekey='0_1' to dty--swa-dty--swc-G1/1
DEBUG: [add_note@Weathermap.class.php:89] [Map 1] .conf: Adding note inscaletag='' to dty--swa-dty--swc-G1/1
DEBUG: [add_note@Weathermap.class.php:89] [Map 1] .conf: Adding note outscaletag='' to dty--swa-dty--swc-G1/1
DEBUG: [add_note@Weathermap.class.php:89] [Map 1] .conf: Adding note inscalecolor='#ffffff' to dty--swa-dty--swc-G1/1
DEBUG: [add_note@Weathermap.class.php:89] [Map 1] .conf: Adding note outscalecolor='#ffffff' to dty--swa-dty--swc-G1/1
DEBUG: [ReadData@Weathermap.class.php:898] [Map 1] .conf: ReadData: Setting 0,0
and there is no gap or hole in the graphFri Jun 19 09:54:38
root@yzi351:/var/www/cacti/log$ /usr/bin/rrdtool fetch /var/www/cacti/rra/-swa_traffic_in_11583.rrd AVERAGE --start now-800 --end now
traffic_in traffic_out
1245397500: 2.2998764587e+04 2.7741796635e+04
1245397800: nan nan
1245398100: nan nan
1245398400: nan nan
Fri Jun 19 09:57:31
root@yzi351:/var/www/cacti/log$ /usr/bin/rrdtool fetch /var/www/cacti/rra/-swa_traffic_in_11583.rrd AVERAGE --start now-800 --end now
traffic_in traffic_out
1245398100: 2.1844539844e+04 2.7448260022e+04
1245398400: nan nan
1245398700: nan nan
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
You still get quite a lot of nans on the command line, but it's true that the results should match.
I've never seen that problem before.
Try 'SET rrd_use_poller_output 1' at the top of the map config, and wait a few poller cycles. That will get data directly from the poller instead of from rrdtool.
I've never seen that problem before.
Try 'SET rrd_use_poller_output 1' at the top of the map config, and wait a few poller cycles. That will get data directly from the poller instead of from rrdtool.
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:
don't delete ittomate wrote:last question : how can i keep this line when i make changes ?
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!)
Who is online
Users browsing this forum: No registered users and 0 guests