On Tuesday, 5 June 2007, Giovanni - Gestor Redix wrote:
Thank you Mike! But... that configuration made my bb-hosts too messy... because i have custom server-side scripts and tests for each server, in these cases the ".default." doesn't work...
But, i made a different solution: for NAME in $(find /home/hobbit/data/rrd/ -name "netstat.rrd"); do FILE="$(echo ${NAME} | sed 's/netstat/netstat1/')" ln -s ${NAME} ${FILE} FILE="$(echo ${NAME} | sed 's/netstat/netstat2/')" ln -s ${NAME} ${FILE} FILE="$(echo ${NAME} | sed 's/netstat/netstat3/')" ln -s ${NAME} ${FILE} done
for NAME in $(find /home/hobbit/data/rrd/ -name "vmstat.rrd"); do FILE="$(echo ${NAME} | sed 's/vmstat/vmstat3/')" ln -s ${NAME} ${FILE} FILE="$(echo ${NAME} | sed 's/vmstat/vmstat5/')" ln -s ${NAME} ${FILE} done
Symlinking the rrdfile i don't need to configure anything... Its ugly but is works, lol.
But, these files contain *different* data!
Oh well, if you really don't want all the data hobbit collects for you, and you like having some broken graphs ...
-- Buchan Milne ISP Systems Specialist - Monitoring/Authentication Team Leader B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)