[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: "Eric Meddaugh" <etmsys (at) rit.edu>
- Date: Tue, 5 Jun 2007 10:22:58 -0400
- References: <466483AB.5060900 (at) redix.com.br> <65514.205.141.66.16.1180996013.squirrel (at) www.razorsedge.org> <466570D1.50409 (at) redix.com.br>
- Thread-index: AcenfELxrya6TuDRQta4v6hTogmTowAAJTvA
- Thread-topic: [hobbit] Enabling vmstat[0-9] or netstat[0-9] graphs in trends page
This is what we use and works, this in only in the bb-hosts, leave the
server config the way it is.
TRENDS:*,vmstat:vmstat|vmstat6|vmstat9,.......<etc>
---Eric
________________________________
From: Giovanni - Gestor Redix [mailto:giovanni (at) redix.com.br]
Sent: Tuesday, June 05, 2007 10:19
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Enabling vmstat[0-9] or netstat[0-9] graphs in
trends page
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.
Cheers
Giovanni M. Frainer
Mike Arnold wrote:
Giovanni - Gestor Redix wrote:
Hi everyone
Has anyone made the vmstat/netstat graphs to work ? At the
time,
just [vmstat] graph appears in trends page... but if i select
the graph
manually, it appears correctly... Any idea why ?
Maybe i need to do something in hobbitserver.cfg besides
just add
GRAPHS="...,vmstat2,vmstat3,netstat3,..."
man bb-hosts
/TRENDS
/\.default\.
In bb-hosts:
# This will set all hosts to display the normal trend graphs, vmstat[23]
# and netstat3.
0.0.0.0 .default. #
TRENDS:*vmstat:vmstat1|vmstat2|vmstat3,netstat:netstat1|netstat3