[mrtg] FW: Disk quota graph

Ripley, Scott Scott.Ripley at mail.house.gov
Thu Mar 29 14:06:02 MEST 2001


If you can come up with a number, MRTG can graph it. It's pretty simple.

Write a script that parses out the disk quota numbers. Then make that script
your target:

Target[diskquota]: `<path to script>`

You can only pass two numbers to MRTG, so if you have a lot of users, this
would be 
be a pain. But you can use one script with a case statement and set which
option you want returned.

Target[diskquota]: `/usr/local/mrtg/myscript user1`

Your target has to be unique in the .cfg file, so [diskquota1],
[diskquota2], etc.

Also note the single back-quotes. Muy importante! I wasted a lot time
figuring that out.

Scott Ripley
DNS Administrator, House Information Resources
202.226.2833 - mailto:scott.ripley at mail.house.gov


-----Original Message-----
From: Enjoy [mailto:taj at enjoywinclub.com] 
Sent: Thursday, March 29, 2001 3:21 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Disk quota graph
Importance: Low


Hi All there

How to  used mrtg to graphed out how much disk space (quota) used by 

different users on a linux system

Pls help me out

Regards 


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

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