[rrd-users] Re: [mrtg] rrdfetch ?
Daniel R . Kilbourne
drk at voyager.net
Thu Aug 30 16:17:47 MEST 2001
I looked into this a little more.
>From reading the rrdfetch manpage, I would think that specifying MAX vs. AVERAGE for the CF would give you different output, but:
mrtg:root:[10:16am]:~> /usr/local/bin/rrdtool fetch /mrtg/httpd/html/MRTG/michigan/mail/smtp/mx2.mx.voyager.net.bytes.rrd AVERAGE > AVERAGE
mrtg:root:[10:17am]:~> /usr/local/bin/rrdtool fetch /mrtg/httpd/html/MRTG/michigan/mail/smtp/mx2.mx.voyager.net.bytes.rrd MAX > MAX
mrtg:root:[10:17am]:~> diff MAX AVERAGE
mrtg:root:[10:17am]:~>
hmmm....what am I missing? (replies calling me an idiot are welcome as long as they help :)
Daniel R . Kilbourne extolled:
>
> So, I am trying to understand the rrdfetch option a little better to do some reporting the "higher ups" want. Basically, they want a web page that has just text reading the AVERAGE, MIN and MAX for several things I am monitoring with mrtg/rrdtool daily, weekly, monthly and yearly.
>
> Any ideas/suggestions/flames about how I can go about getting that info?
>
> I have done something similar to report high usage on modems. I basically do this:
>
> /usr/local/bin/rrdtool fetch /path.to.specified/rrd MAX | cut -f4 -d ' ' | grep + | sort -te +1 | tail -1
>
> This seems to show the MAX just right, but I need AVERAGE and MIN too.....I may be braindead today (no caffeine yet), but I cannot seem to wrap my brain around it...
>
>
> --
> --------------------------------
> Daniel R. Kilbourne
> daniel.kilbourne at corecomm.com
> CoreComm Systems Engineering
> ________________________________
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
--
--------------------------------
Daniel R. Kilbourne
daniel.kilbourne at corecomm.com
CoreComm Systems Engineering
________________________________
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list