[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Enabling vmstat[0-9] or netstat[0-9] graphs in trends page
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Enabling vmstat[0-9] or netstat[0-9] graphs in trends page
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Wed, 6 Jun 2007 18:42:53 +0200
- Cc: Giovanni - Gestor Redix <giovanni (at) redix.com.br>
- Organization: Telkom Internet
- References: <466483AB.5060900 (at) redix.com.br> <65514.205.141.66.16.1180996013.squirrel (at) www.razorsedge.org> <466570D1.50409 (at) redix.com.br>
- User-agent: KMail/1.9.6
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)