[SOLVED] Works on 0.92 but not on 0.93

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
tierpel
Posts: 9
Joined: Sun Feb 19, 2006 3:47 pm
Location: FR -- Sophia-antipolis - Valence

[SOLVED] Works on 0.92 but not on 0.93

Post by tierpel »

Hi !
( i'm french escuse my poor english)

i upgrade weathermp 0.92 to 0.93 but i have an error with an aditionnal data , it's the free dhcp lease. my error :

Code: Select all

WEATHERMAP: Poller[0] RRD ReadData: Neither of your DS names (ms_dhcp_free & AVERAGE) were found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: timestamp,ms_dhcp_free, [WMRRD06]

the code :

Code: Select all

NODE lolipop_dhcp
	LABEL {node:this:bandwidth_in} free DHCP
	TARGET gauge:/var/www/html/rra/lolipop_ms_dhcp_free_178.rrd:ms_dhcp_free:AVERAGE
if y downgrade to 0.92 i have no problem with the dhcp data .

Code: Select all

[code]
10/07/2007 01:17:44 AM - WEATHERMAP: Poller[0] Weathermap 0.92 starting - Normal logging mode. Turn on DEBUG in Cacti for more information
10/07/2007 01:17:44 AM - WEATHERMAP: Poller[0] Map: /var/www/html/plugins/weathermap/configs/LPG_Sophia -> /var/www/html/plugins/weathermap/output/weathermap_2.html & /var/www/html/plugins/weathermap/output/weathermap_2.png
10/07/2007 01:17:44 AM - WEATHERMAP: Poller[0] ReadData: LINK OPenaudit, target: /var/www/html/rra/esx_traffic_in_568.rrd on config line 263 had no valid data, according to WeatherMapDataSource_rrd
10/07/2007 01:17:44 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped lolipop_dhcp 152% to 100%
10/07/2007 01:17:44 AM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
10/07/2007 01:17:44 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped lolipop_dhcp 152% to 100%
10/07/2007 01:17:45 AM - WEATHERMAP: Poller[0] Wrote map to /var/www/html/plugins/weathermap/output/weathermap_2.png and /var/www/html/plugins/weathermap/output/weathermap_thumb_2.png
10/07/2007 01:17:45 AM - WEATHERMAP: Poller[0] Weathermap 0.92 run complete - 1 maps were run[/code]

Run on CactiEZ with cacti 0.8.6h

thanks for your help

++
tierpel
Last edited by tierpel on Sun Oct 07, 2007 1:06 pm, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

If you do a rrdtool info /var/www/html/rra/lolipop_ms_dhcp_free_178.rrd what does it say?

It looks like something is wrong there, but I don't see how it would not have affected me, or anyone else testing it... and AVERAGE is an unusual name for a DS, but a standard CF in rrdtool, so I think maybe that the config is wrong, but that 0.93 is more fussy about it.

Please post the rrdtool info output.
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!)
tierpel
Posts: 9
Joined: Sun Feb 19, 2006 3:47 pm
Location: FR -- Sophia-antipolis - Valence

Post by tierpel »

the information :

Code: Select all

[root@localhost ~]# rrdtool info /var/www/html/rra/lolipop_ms_dhcp_free_178.rrd
filename = "/var/www/html/rra/lolipop_ms_dhcp_free_178.rrd"
rrd_version = "0003"
step = 300
last_update = 1191714016
ds[ms_dhcp_free].type = "GAUGE"
ds[ms_dhcp_free].minimal_heartbeat = 600
ds[ms_dhcp_free].min = 0.0000000000e+00
ds[ms_dhcp_free].max = NaN
ds[ms_dhcp_free].last_ds = "UNKN"
ds[ms_dhcp_free].value = 2.4320000000e+03
ds[ms_dhcp_free].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 600
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 700
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 3.0400000000e+02
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 775
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 3.0299566667e+03
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 797
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 4.1857670000e+04
rra[3].cdp_prep[0].unknown_datapoints = 0
rra[4].cf = "MIN"
rra[4].rows = 600
rra[4].pdp_per_row = 1
rra[4].xff = 5.0000000000e-01
rra[4].cdp_prep[0].value = NaN
rra[4].cdp_prep[0].unknown_datapoints = 0
rra[5].cf = "MIN"
rra[5].rows = 700
rra[5].pdp_per_row = 6
rra[5].xff = 5.0000000000e-01
rra[5].cdp_prep[0].value = 1.5200000000e+02
rra[5].cdp_prep[0].unknown_datapoints = 0
rra[6].cf = "MIN"
rra[6].rows = 775
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 1.5100000000e+02
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[7].cf = "MIN"
rra[7].rows = 797
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 1.4500000000e+02
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[8].cf = "MAX"
rra[8].rows = 600
rra[8].pdp_per_row = 1
rra[8].xff = 5.0000000000e-01
rra[8].cdp_prep[0].value = NaN
rra[8].cdp_prep[0].unknown_datapoints = 0
rra[9].cf = "MAX"
rra[9].rows = 700
rra[9].pdp_per_row = 6
rra[9].xff = 5.0000000000e-01
rra[9].cdp_prep[0].value = 1.5200000000e+02
rra[9].cdp_prep[0].unknown_datapoints = 0
rra[10].cf = "MAX"
rra[10].rows = 775
rra[10].pdp_per_row = 24
rra[10].xff = 5.0000000000e-01
rra[10].cdp_prep[0].value = 1.5200000000e+02
rra[10].cdp_prep[0].unknown_datapoints = 0
rra[11].cf = "MAX"
rra[11].rows = 797
rra[11].pdp_per_row = 288
rra[11].xff = 5.0000000000e-01
rra[11].cdp_prep[0].value = 1.5200000000e+02
rra[11].cdp_prep[0].unknown_datapoints = 0
rra[12].cf = "LAST"
rra[12].rows = 600
rra[12].pdp_per_row = 1
rra[12].xff = 5.0000000000e-01
rra[12].cdp_prep[0].value = NaN
rra[12].cdp_prep[0].unknown_datapoints = 0
rra[13].cf = "LAST"
rra[13].rows = 700
rra[13].pdp_per_row = 6
rra[13].xff = 5.0000000000e-01
rra[13].cdp_prep[0].value = 1.5200000000e+02
rra[13].cdp_prep[0].unknown_datapoints = 0
rra[14].cf = "LAST"
rra[14].rows = 775
rra[14].pdp_per_row = 24
rra[14].xff = 5.0000000000e-01
rra[14].cdp_prep[0].value = 1.5200000000e+02
rra[14].cdp_prep[0].unknown_datapoints = 0
rra[15].cf = "LAST"
rra[15].rows = 797
rra[15].pdp_per_row = 288
rra[15].xff = 5.0000000000e-01
rra[15].cdp_prep[0].value = 1.5200000000e+02
rra[15].cdp_prep[0].unknown_datapoints = 0
thx
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

OK, as I thought... in your TARGET line, you are asking for two DS names: ms_dhcp_free, and AVERAGE. There isn't a DS called AVERAGE in the RRD file, so the error message is partly correct. In fact it's a bug that 0.92 let you do this before! :-)

So what your TARGET line should look like is:

Code: Select all

   TARGET gauge:/var/www/html/rra/lolipop_ms_dhcp_free_178.rrd:ms_dhcp_free:-
The wording of the error message is wrong though, and I will correct that. It should say "At least one" instead of "Neither". It shouldn't show the 'timestamp' as a DS name either.
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!)
tierpel
Posts: 9
Joined: Sun Feb 19, 2006 3:47 pm
Location: FR -- Sophia-antipolis - Valence

Post by tierpel »

thanks for your help , I start has to better understand .
Attachments
dhcp_free.JPG
dhcp_free.JPG (2.64 KiB) Viewed 3043 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest