[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] netstat vmstat columns missing?????
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] netstat vmstat columns missing?????
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Thu, 21 Jun 2007 22:15:48 +0200
- References: <58EF0861D3A1A04182720B3A5231C7C20113D6C8 (at) usplm205.amer.corp.eds.com> <6E51D901EBEA764DB47CE134CF6CDC3901F33F4D (at) USCIMPLM004.net.plm.eds.com>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Thu, Jun 21, 2007 at 11:18:44AM -0400, Langford, Kenneth wrote:
> I guess the problem that I have is that my users have gotten use to
> seeing a netstat and vmstat column [...] Is there a way to get this data
> to show up as a separate column like I had with the big brother client
> so my users don't get confused????
Not directly. You could hack up a script to generate a netstat column;
something like
#!/bin/sh
cd $BBVAR/rrd
for H in */netstat.rrd
do
HOSTNAME=`echo $H | cut -d/ -f1`
$BB $BBDISP "status+25h $HOSTNAME.netstat green
<a href=\"$CGIBINURL/bb-hostsvc.sh?CLIENT=$HOSTNAME§ion=netstat\">Current data</a>
"
done
exit 0
and run this as a server-side extension from hobbitlaunch.cfg
once a day (set "INTERVAL 24h"). It should pick up the netstat graph
automatically, since the column- and graph-names match.
The link inside the status message is for easy access to the current
data.
A vmstat column can be done in the same way.
Regards,
Henrik