[mrtg] AW: multiply 2 items by different amounts and display on same graph
Thomas.Rupp at illwerke.at
Thomas.Rupp at illwerke.at
Thu Apr 15 16:05:12 MEST 2004
Yes, I think so.
Your target should look like:
######################################################################
# RFC1514 Host-Resources:
# Total Disk Capacity:
# .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize *
# .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits
# Used Disk Capacity:
# .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed *
# .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits
######################################################################
Target[DISK_F]:.1.3.6.1.2.1.25.2.3.1.5.5&.1.3.6.1.2.1.25.2.3.1.6.5:public at server *
.1.3.6.1.2.1.25.2.3.1.4.5&.1.3.6.1.2.1.25.2.3.1.4.5:public at server / 1024 / 1024 / 1024
Returns the total disk capacity and used disk capacity in GB.
You could replace the used disk capacity by the total disk capacity of your 2nd disk.
HTH
Thomas Rupp
-----Ursprüngliche Nachricht-----
Von: Stephen Patterson [mailto:steve at patter.mine.nu]
Gesendet: Donnerstag, 15. April 2004 15:57
An: mrtg list
Betreff: [mrtg] multiply 2 items by different amounts and display on same graph
I'm trying to monitor disc space usage on a windows server via
snmp. Due to the disc sizes, C:\ is returned in units of 512 bytes and
D:\ in units of 4096 bytes. Can mrtg multiply the C figure by 512 and
the D figure by 4096, and display them on the same graph?
--
Stephen Patterson http://patter.mine.nu/
steveSPAM at .patter.mine.nu remove SPAM to reply
Linux Counter No: 142831 GPG Public key: 252B8B37
Caution: breathing may be hazardous to your health.
-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature
--
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