Linux系统监控的CPU、Mem、IO的OID
一、负载OID
OID:1.3.6.1.4.1.2021
名称 OID
1 minute Load: 10.1.3.1
5 minute Load: 10.1.3.2
15 minute Load: 10.1.3.3
二、CPU的OID
OID:1.3.6.1.4.1.2021
----------------------------------------------
名称 OID
percentage of user CPU time: 11.9.0
percentages of system CPU time: 11.10.0
percentages of idle CPU time: 11.11.0
raw user cpu time: 11.50.0
raw system cpu time: 11.52.0
raw idle cpu time: 11.53.0
raw nice cpu time: 11.51.0
三、Mem的OID
OID:1.3.6.1.4.1.2021
----------------------------------------------
名称 OID
Total RAM in machine: 4.5.0
Total RAM used: 4.6.0
Total RAM Free: 4.11.0
Total RAM Shared: 4.13.0
Total RAM Buffered: 4.14.0
Total Swap Size: 4.3.0
Available Swap Space: 4.4.0
Total Cached Memory: 4.15.0
四、磁盘的OID
OID:1.3.6.1.2.1.2021.13.15.1.1
------------------------------------------------
ucdExperimental.ucdDiskIOMIB.diskIOTable.diskIOEntry
13.15.1.1
-----------------------------------------------
名称 OID
diskIOIndex 13.15.1.1.1
diskIODevice 13.15.1.1.2
diskIONRead 13.15.1.1.3
diskIONWritten 13.15.1.1.4
diskIOReads 13.15.1.1.5
diskIOWrites 13.15.1.1.6
五、网络的OID
OID:1.3.6.1.2.1
--------TCP--------------
名称 OID
tcpRtoAlgorithm 6.1
tcpRtoMin 6.2
tcpRtoMax 6.3
tcpMaxConn 6.4
tcpActiveOpens 6.5
tcpPassiveOpens 6.6
tcpAttemptFails 6.7
tcpEstabResets 6.8
tcpCurrEstab 6.9
tcpInSegs 6.10
tcpOutSegs 6.11
tcpRetransSegs 6.12
tcpInErrs 6.14
tcpOutRsts 6.15
--------------------
tcpConnTable 6.13
tcpConnEntry 6.13.1
tcpConnState 6.13.1.1
tcpConnLocalAddress 6.13.1.2
tcpConnLocalPort 6.13.1.3
tcpConnRemAddress 6.13.1.4
tcpConnRemPort 6.13.1.5
----------UDP-----------
udpInDatagrams 7.1
udpNoPorts 7.2
udpInErrors 7.3
udpOutDatagrams 7.4
udpTable 7.5
udpEntry 7.5.1
udpLocalAddress 7.5.1.1
udpLocalPort 7.5.1.2
后记:
有用的OID
1.3.6.1---------iso.org.dod.internet
1.3.6.1.2.1-----iso.org.dod.internet.mgmt.mib-2
1.3.6.1.2.1.25 HOST-RESOURCES-MIB
1.3.6.1.2.1.16 rmon
1.3.6.1.2.1.6 tcp
1.3.6.1.2.1.7 udp
1.3.6.1.2.1.2 SNMP MIB-2 Interfaces
1.3.6.1.4.1-----iso.org.dod.internet.private.enterprise
1.3.6.1.4.1.2021 RedHat
1.3.6.1.4.1.2021.11 CPU
1.3.6.1.4.1.2021.4 Memory Statistics
1.3.6.1.4.1.2021.13.15.1.1 ucdExprimental.ucdDiskIOMIB.diskIOTable.diskIOEntry(磁盘I/O统计)
1.3.6.1.4.1.311 Microsoft
1.3.6.1.4.1.9 Cisco
1.3.6.1.4.1.2011 Huawei
相关OID可以查看:oid-info.com