[mrtg] Re: Disk Utilization by percent
Daniel Curry
dcurry at dollar.com
Wed Dec 15 21:49:32 MET 1999
Will,
I am grabbing the same stats from a digital unix box. when I attempted
to use the snmp for this data I found it lacking, but by having an rsh
session exec a script, the system did the percents for me. I just
grepped the lines I needed and returned them to mrtg.
I hope this helps. If you figure out a way to do this for memory and
swap, let me know!
Daniel Curry
-----Original Message-----
From: Will Rampart [mailto:wrampart at hotmail.com]
Sent: Wednesday, December 15, 1999 2:42 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Disk Utilization by percent
I am trying to graph the percent of disk usage on a solaris machine. I
am
using the host resource mib to grab disk usage and size. my problem is
this: I need to divide the used by the max size and multiply by 100.
What
would the syntax for this be? I tried:
Target[disk]: hrStorUsed&hrStorSize:public at 1.1.1.1 /
hrStorUsed&hrStorSize:public at 1.1.1.1 * 100
This does not return the expected value. I attempted to graph
hrStorUsed&hrStorSize and let MRTG calculate percents, but once I
converted
the kb to bytes, I exceeded the maximum integer on the machine!
Because I am running MRTG remotely, I'll need to get this via snmp
(rather
than a local script or remote exec).
How are other people doing large disk (8-30+ GB) monitoring using MRTG?
Thanks!
Will
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list