BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{bb} Extract information from LaRRD
- To: bb@bb4.com
- Subject: {bb} Extract information from LaRRD
- From: "Mick Ohrberg" <mick.ohrberg@gmail.com>
- Date: Fri, 20 Oct 2006 08:08:57 -0500
- Content-disposition: inline
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=UTF-8; format=flowed
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=sBbI2Lug70QdMpTnUkdIHUE7pTUbFErKluCmfDIBG/pBjRkF5lc9Hzit0HcGEaw9cWR0l9EBlClHOER0voYahZW0PKtdtE9izfdVUkmRDWjR+n1LzoKhdg9p7v77cPV4fLOcGmC5CCO+CAU/YQtnNLaszBgUX2oP3iOJtOCS1fk=
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
Hello, brothers and sisters.
I am, in the name of appeasing upper mgmt and their hunger for "purdy
pitchers", extracting information about filesystems (for trending)
using a conglomerate of sh/ksh scripting and PHP with a PDFifier. It
works well functionally, but I'm realizing that my method of
extracting data is flawed.
Instead of going into a long explanation on how I'm currently doing it
(which I KNOW is FAR from efficent, but mgmt said "now", so what do
you do?), I'll put it this way:
Currently, if you use a URL similar to this:
http://<bbserver>/cgi-bin/larrd-grapher.cgi?host=<hostname>&service=disk&disk_part=6..11
you get 6 file systems listed. If I want ONE single filesystem, I do
the following:
http://<bbserver>/cgi-bin/larrd-grapher.cgi?host=<hostname>&service=disk&disk_part=6..6
However - how do I reliably (and in a script) link that '6' graph back
to a real filesystem? If I look in ${BBHOME}/bbvar/rrd, I can see that
(again, in this particular case), the 6th <hostname>.disk* file
corresponds to the correct picture (the filename and the image agrees
on filesystem name), but that doesn't always seem to be the case. Is
there a more reliable way of linking that number to a file system
name?
Thank you in advance!
--
A: Because it's counterintuitive to the way we read.
Q: Why is top-posting bad?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index