Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[SOLVED] Works on 0.92 but not on 0.93

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
tierpel



Joined: 19 Feb 2006
Posts: 7
Location: FR -- Sophia-antipolis - Valence

PostPosted: Sat Oct 06, 2007 8:52 am    Post subject: [SOLVED] Works on 0.92 but not on 0.93 Reply with quote

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:
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:
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:

[code][/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


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
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2162
Location: United Kingdom

PostPosted: Sat Oct 06, 2007 9:03 am    Post subject: Reply with quote

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.
Back to top
tierpel



Joined: 19 Feb 2006
Posts: 7
Location: FR -- Sophia-antipolis - Valence

PostPosted: Sat Oct 06, 2007 9:15 am    Post subject: Reply with quote

the information :

Code:
[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
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2162
Location: United Kingdom

PostPosted: Sat Oct 06, 2007 9:40 am    Post subject: Reply with quote

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:

   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.
Back to top
tierpel



Joined: 19 Feb 2006
Posts: 7
Location: FR -- Sophia-antipolis - Valence

PostPosted: Sat Oct 06, 2007 11:29 am    Post subject: Reply with quote

thanks for your help , I start has to better understand .


dhcp_free.JPG
 Description:
 Filesize:  2.64 KB
 Viewed:  917 Time(s)

dhcp_free.JPG


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group