[mrtg] disk space monitoring
Julien Motch
julienmotch at skynet.be
Tue Sep 24 18:29:49 MEST 2002
hi all ,
I am new in mrtg and I was wondering if it could be used to monitor my
hard disk (free inodes or blocks etc ..) .I have readen in the doc that
an external programm could be used to monitors some variables .The
output of the script I use is like this :
- first line is free block
- second line is allocated block
- third line is the target uptime
- fourth line is the target nam which the script applies to.
a normal output of the script is :
#here begins the output
1292860
2054192
mar 24 sep 2002 16:41
spacedisk
#Here ends the output
and my config is
#Config begins here
Target[diskspace]: `/bin/mrtgdiskspace`
SetEnv[diskspace]: MRTG_INT_IP="192.168.0.1" MRTG_INT_DESCR="eth0"
MaxBytes[diskspace]: 100
Unscaled[diskspace]: d
Suppress[diskspace]: wmy
Options[diskspace]: growright
Title[diskspace]: Traffic Analysis for gum.dyns.cx -- serveur
PageTop[diskspace]: <H1>Traffic Analysis gum.dyns.cx -- serveur</H1>
<TABLE>
<TR><TD>System:</TD> <TD>Mandrake Linux 8.2 Serveur</TD></TR>
<TR><TD>Maintainer:</TD> <TD>gum at wanadoo.be</TD></TR>
<TR><TD>Description:</TD><TD>Reseaux Local & internet </TD></TR>
<TR><TD>ifType:</TD> <TD>D-LINK 530 TX 10/100 MBITS</TD></TR>
<TR><TD>ifName:</TD> <TD>ETH0</TD></TR>
<TR><TD>Max Speed:</TD> <TD>100 Mbits/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.0.1 (serveur)</TD></TR>
</TABLE>
#config ends here
The graphs are generated but I can not see any lines on it.
could you tell me if I am not wrong by doing this ?
Thanks ,Julien
--
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