ERROR: unknown DS name ''

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
golemb
Posts: 30
Joined: Mon Jun 02, 2003 12:47 pm

ERROR: unknown DS name ''

Post by golemb »

Hello;

I have modified the weather.php file to pull data from weather.com. The cmd.php poller is collecting the right information but I get an error "unknown DS name ''. I must have missed something in the datasource but I can't find it. I'd tried the weatherbug script but it has no data for Canada that I can access. :cry:

Thanks

Data Source Debug

/usr/local/rrdtool/bin/rrdtool create \
/usr/local/apache2/htdocs/rra/wspeed_25.rrd \
--step 300 \
DS:wspeed:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

Code: Select all

MULTI command: /usr/local/php/bin/php 
/usr/local/apache2/htdocs/scripts/fetchweather.php CAXX0345, output: curtemp:5 feelstemp:5 windchill:0 heatind:0 windspeed:0 dewpoint:-5 humidity:54 visibility:150 pressure:30.35 wdirection:0 uvindex:2
MULTI expansion: found fieldid: 37, found rrdname: , value: 5
MULTI expansion: found fieldid: 38, found rrdname: , value: 5
MULTI expansion: found fieldid: 39, found rrdname: , value: 0
MULTI expansion: found fieldid: 40, found rrdname: , value: 0
MULTI expansion: found fieldid: 41, found rrdname: wspeed, value: 0
MULTI expansion: found fieldid: 42, found rrdname: , value: -5
MULTI expansion: found fieldid: 43, found rrdname: , value: 54
MULTI expansion: found fieldid: 44, found rrdname: , value: 150
MULTI expansion: found fieldid: 45, found rrdname: , value: 30.35
MULTI expansion: found fieldid: 47, found rrdname: , value: 0
MULTI expansion: found fieldid: 48, found rrdname: , value: 2
update /usr/local/apache2/htdocs/rra/localhost_mem_buffers_3.rrd --template mem_buffers N:252564
update /usr/local/apache2/htdocs/rra/localhost_mem_swap_4.rrd --template mem_swap N:1044184
update /usr/local/apache2/htdocs/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min N:0.04:0.02:0.00
update /usr/local/apache2/htdocs/rra/windspeed_24.rrd --template :wspeed N:2:0
ERROR: unknown DS name ''
time: 3
ps using cacti 8.5, rh9
Last edited by golemb on Sun Feb 15, 2004 7:42 pm, edited 1 time in total.
Bisonlux
Cacti User
Posts: 79
Joined: Wed Jul 23, 2003 4:35 pm
Location: Luxembourg

Post by Bisonlux »

Hi,

Remove the ":" character before wspeed

- Eric
User avatar
golemb
Posts: 30
Joined: Mon Jun 02, 2003 12:47 pm

Post by golemb »

Bisonlux wrote:Hi,

Remove the ":" character before wspeed

- Eric
Good call Eric and I would tend to agree that the : might be the problem. I checked over all my datasources and templates but I have no idea where that extra : is coming from. I didn't enter it.
User avatar
golemb
Posts: 30
Joined: Mon Jun 02, 2003 12:47 pm

Post by golemb »

Fixed it, sort of by using the sledhammer method. Nuked the database and cacti directory and started from scratch. Second times a charm. Works great now. When I have it done I will export the xml files and post them.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests