[mrtg] Monitoring Windows disk free space and named OID's

Amos Shapira amos.shapira at gmail.com
Tue Mar 20 08:36:22 CET 2007


I'm trying to monitor free disk space on Windows partitions using MRTG
2.14.7 on Debian Etch (using the Debian package) and so far failed to make
MRTG recognize the named OID.

I configured the target as:

hrStorageSize.1:community at IP - hrStorageUsed.1:community at IP

And added the MIB to the "search path" using:

LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt

but get the following error:

2007-03-20 18:17:16: ERROR: Target[IP_drivec][_OUT_] 'hrStorageSize.
$target->[8]{$mode}  - hrStorageUsed. $target->[8]{$mode} ' (eval): Bareword
"hrStorageSize" not allowed while "strict subs" in use at (eval 33) line 1.
Bareword "hrStorageUsed" not allowed while "strict subs" in use at (eval 33)
line 1.

>From digging the net it looks like there are many questions about this from
others in similar situation - i.e. followed the fine documentation but still
don't get the named OID's to work, and there are no working replies to be
found anywere on the net.

So - is this possible or do I HAVE to give up on named OID's and try to find
the numerical ones?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070320/b7747132/attachment.html 

More information about the mrtg mailing list