[mrtg] Re: Calculations

Ashley M. Kirchner ashley at pcraft.com
Fri Mar 31 01:26:08 MEST 2000


Chuck.Curto at tmcaz.com wrote:

> Here's another one for you. Is it possible (and I'm sure it is since MRTG is
> so configurable) to do calculations such as subtraction or multiplication on
> some of my values? I'm monitoring hard disk "free space" but I actually want
> "space used". If I subtract 100 from the "percent of free space" it will give
> me the "percent of space used".

    Make your data gathering script do that.  Although, most systems will report
both used, as well as free space.  You just need to grab the right value.  I'm
monitoring 3 machines' disk spaces right now, and all three of them (different
platforms) report both used, as well as free space, and all I care for is the
used one, so I only parse out that information.

    AMK4

--
W |
  |  Digital information lasts forever, or five years
  |   - whichever comes first.
  |____________________________________________________________________
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  SysAdmin / Websmith                           .     800.441.3873 x130
  Photo Craft Laboratories, Inc.             .        eFax 248.671.0909
  http://www.pcraft.com                  .            3550 Arapahoe Ave
  .................. .  .  .     .                    Boulder, CO 80303


--
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



More information about the mrtg mailing list