[mrtg] Re: Factor

Mike Koch Mike.Koch at etsi.fr
Wed Jul 4 09:20:38 MEST 2001


Hello,

I didn't follow what you need to do in your previous mail, but...
...why don't you write a little script that query the OID, multiply it by
4096 (or the result returned by ...hrStorageSize.2), and returns the result
as the following :

number  -> your HD freespace (or whatever you need to monitor)
number  -> not mandatory
0
0

you give in target your script as :

Target[HD Free Space]: `perl c:\mrtg-2.9.7\bin\HD_FreeSpace.pl`

(of course on *NIX, it will be something like
/mrtg-2.9.7/bin/HD_FreeSpace.pl)

And that will work fine !

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



More information about the mrtg mailing list