[hobbit] Enabling vmstat[0-9] or netstat[0-9] graphs in trends page
Giovanni - Gestor Redix
giovanni at redix.com.br
Tue Jun 5 16:18:57 CEST 2007
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070605/567bb985/attachment.html>
More information about the Xymon
mailing list