[mrtg] Memory Usage with Changing Instances
McDonald, Dan
Dan.McDonald at austinenergy.com
Wed Jul 23 13:57:34 CEST 2008
On Wed, 2008-07-23 at 08:27 +0100, Nico Kadel-Garcia wrote:
> There used to be a useful scripting tool for this called
> 'cfgstoragemaker'. Unfortunately, it stopped working back around the
> release of RHEL 5, and I've never gotten it to work again. It
> successfully probed the devices and produced valid looking .cfg files,
> but MRTG itself had some problem I've never solved, actually using
> hrStorage values instead of numerical OID's. And I've never spent the
> time to get numerical OID's out of it.
Just add a LoadMibs: line to your config and include the mib file that
contains hrStorage. I think that's HOST-RESOURCES-MIB. I use symbolic
names almost exclusively. Here is my LoadMibs: statement (note - only
one line allowed, and only one LoadMibs statement allowed. Also, the
order is important...)
LoadMibs: /usr/share/snmp/mibs/CISCO-SMI-V1SMI.my /usr/share/snmp/mibs/CISCO-TC-V1SMI.my /usr/share/snmp/mibs/CISCO-PROCESS-MIB.my /usr/share/snmp/mibs/CISCO-QOS-PIB-MIB-V1SMI.my /usr/share/snmp/mibs/CISCO-MEMORY-POOL-MIB-V1SMI.my /usr/share/snmp/mibs/sa.mib /usr/share/snmp/mibs/sh2.mib /usr/share/snmp/mibs/ups.mib /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt /usr/share/snmp/mibs/CISCO-FIREWALL-MIB-V1SMI.my /usr/share/snmp/mibs/ETHERLIKE-MIB-V1SMI.my /usr/share/snmp/mibs/apent.mib /usr/share/snmp/mibs/chassismgrext.mib /usr/share/snmp/mibs/cntsvcext.mib /usr/share/snmp/mibs/stratum100.mib /usr/share/snmp/mibs/qb.mib /usr/share/snmp/mibs/OLD-CISCO-INTERFACES-MIB.my /usr/share/snmp/mibs/itw_mib.mib /usr/share/snmp/mibs/orinoco.mib /usr/share/snmp/mibs/ENTITY-MIB-V1SMI.my /usr/share/snmp/mibs/CISCO-ENHANCED-MEMPOOL-MIB-V1SMI.my /usr/share/snmp/mibs/CISCO-VOICE-COMMON-DIAL-CONTROL-MIB-V1SMI.my /usr/share/snmp/mibs/CISCO-CCM-MIB.my /usr/share/snmp/mibs/CISCO-ENTITY-FRU-CONTROL-MIB.my /usr/share/snmp/mibs/POWER-ETHERNET-MIB-V1SMI.my /usr/share/snmp/mibs/LIEBERT_GP_REG.MIB /usr/share/snmp/mibs/LIEBERT_GP_POWER.MIB
>
> If anyone can get that tool working again, for example by translating
> the hrStorage values to numerical OID's in the published .cfg file, I'd
> be thrilled. It was very useful for scanning and updating storage
> setttings on a regular basis.
--
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20080723/1b641593/attachment.bin
More information about the mrtg
mailing list