PDA

Bekijk de volledige versie : hddtemp



Denmike
18-12-2006, 21:48
Did anybody try to compile hddtemp (http://www.guzu.net/linux/hddtemp.php) for WL-700g? I think interestingly it will be to know the temperature of HDD at the different modes of operations of device.
Also rrdtool from repository (http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/) does not work with this router, probably it is also necessary to recompile?

d3viant
18-12-2006, 22:12
What do you mean exactly by "does not work"? Is it a configuration script that doesn't work? If this is the case, it may be worth editing the script to point it at /opt/bin/bash as opposed to /bin/sh - which lacks a lot of functionality with the Wl700Ge's firmware

oleo
18-12-2006, 22:15
Also rrdtool from repository (http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/) does not work with this router, probably it is also necessary to recompile?

I know that rrdtool is somehow broken. But until now I did not found a way how to resolve this. I have native compiled rrdtool with its libraries with the same bogus problems with fpclassify.

Denmike
18-12-2006, 22:28
What do you mean exactly by "does not work"? Is it a configuration script that doesn't work?

I used script from this forum for monitoring network interfaces. It can't to create rrd-database. Process rrdtool eat all CPU-time. but nothing happened.
I tried to use rrdweather script and it also can't create database with the same error. When I try to create database on my linux-box rrdtool can't update this database with error: "database created on another platform".

d3viant
18-12-2006, 22:38
Hmm, looks like it stores a config file somewhere saying that the database has already been created. oleo did a lot of work on the original mips based packages - and seeing as it never appeared to work, I guess it's not such a simple problem as the wrong shell being used so it looks like you may be stuck for the time being. :(

Denmike
18-12-2006, 23:10
For example:
rrdtool on router can create this database:


rrdtool create ${RRDDIR}/${CITY}/dew.rrd \
--start 1127253600 \
DS:dew:GAUGE:600:-50:150 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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


But when I changed one line (3) for next database, rrdtool can't create database. On normal linux machine this command create database without any problem


rrdtool create ${RRDDIR}/${CITY}/humidity.rrd \
--start 1127253600 \
DS:humidity: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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN: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