[mrtg] Problem monitoring Windows Disk Space

Romain Keirsebilck rom15becs at gmail.com
Tue May 23 14:31:22 MEST 2006


Hi everyone, I try to create a cfg file which could monitor several (up to
4) hard disk on a same Windows 2000 Server Machine (from an Linux Mrtg
server).
I use the .1.3.6.1.2.1.25.2.3.1.6.XX OID (Available Space) and the
.1.3.6.1.2.1.25.2.3.1.5.XX OID (for Used Space).
The problem is about the target declaration :
Target[Win_Stockage]: .1.3.6.1.2.1.25.2.3.1.6.2:COMMU at XXX.XXX.XXX.XXX /
.1.3.6.1.2.1.25.2.3.1.5.2:COMMU at XXX.XXX.XXX.XXX * 100
When script started I have the following error :
ERROR: Target[win_stockage][_IN_] '.1.3.6.1.2.1.25.2.3.1.6.
$target->[1]{$mode}  / .1.3.6.1.2.1.25.2.3.1.5. $target->[1]{$mode}  * 100'
(warn): Use of uninitialized value in division (/) at (eval 3448) line 1.
ERROR: Target[win_stockage][_OUT_] '.1.3.6.1.2.1.25.2.3.1.6.
$target->[1]{$mode}  / .1.3.6.1.2.1.25.2.3.1.5. $target->[1]{$mode}  * 100'
(warn): Use of uninitialized value in division (/) at (eval 3449) line 1.
Someone can explain me what is going on? How can we declare a division in
MRTG? Am I forced to create a Target for each drive that I monitor???

Thanks in advance
Romain KEIRSEBILCK (greetings from france)


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list