← Back to team overview

sslug-teknik team mailing list archive

SNMP og Diskforbrug

 

Hej

Jeg er ved at sætte MRTG op til at måle diskforbug fra snmp.

Hvis jeg kører en snmpwalk localhost public  .1.3.6.1.2.1.25.2.3 som
nævnt i http://www.sslug.dk/emailarkiv/teknik/2000_07/msg00860.html
får jeg dette, som jeg ikke synes siger noget om mine diske.

host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageIndex.101 = 101
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageIndex.102 = 102
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageIndex.103 = 103
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageType.101 = OID:
host.hrStorage.hrStorageTypes.hrStorageRam
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageType.102 = OID:
host.hrStorage.hrStorageTypes.hrStorageVirtualMemory
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageType.103 = OID:
host.hrStorage.hrStorageTypes.hrStorageOther
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageDescr.101 = Real
Memory
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageDescr.102 = Swap
Space
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageDescr.103 =
Memory Buffers
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.
101 = 1024 Bytes
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.
102 = 1024 Bytes
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.
103 = 256 Bytes
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.101 =
513880
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.102 =
305192
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.101 = 96412
host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.102 = 0

I min server har jeg:

# mount
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
/dev/hda1 on /boot type ext3 (rw)
/dev/hda2 on /home type ext3 (rw)
/dev/hda3 on /var type ext3 (rw)
/dev/hda7 on /usr type ext3 (rw)
/dev/hdc1 on /disk type ext3 (rw)
/dev/hdd1 on /disk2 type reiserfs (rw)
/dev/md0 on /raid type ext3 (rw,data=journal)
none on /dev/pts type devpts (rw,gid=5,mode=620)

Det jeg leder efter et OID'er til at sætte ind i min mrtg.cfg.

Mvh. Jesper