snmp

節點資訊,方便查詢

系統參數:1.3.6.1.2.1.1

OID 說明 備註
.1.3.6.1.2.1.1.1.0系統基本信息SysDesc
.1.3.6.1.2.1.1.3.0開機時間sysUptime
.1.3.6.1.2.1.1.4.0系統聯繫人sysContact
.1.3.6.1.2.1.1.5.0機器名稱SysName
.1.3.6.1.2.1.1.6.0機器所在位置SysLocation
.1.3.6.1.2.1.1.7.0機器提供的服務SysService
.1.3.6.1.2.1.25.4.2.1.2系統運行的進程列表hrSWRunName
.1.3.6.1.2.1.25.6.3.1.2系統安裝的軟件列表hrSWInstalledName

網路資訊:1.3.6.1.2.1.2

OID 說明 備註
.1.3.6.1.2.1.2.1.0網卡數量IfNumber
.1.3.6.1.2.1.2.2.1.2網卡說明 IfDescr
.1.3.6.1.2.1.2.2.1.3網卡類型IfType
.1.3.6.1.2.1.2.2.1.4網卡MTU IfMTU
.1.3.6.1.2.1.2.2.1.5網卡速度 IfSpeed
.1.3.6.1.2.1.2.2.1.6網卡實體位 IfPhysAddress
.1.3.6.1.2.1.2.2.1.8網卡操作狀態IfOperStatus
.1.3.6.1.2.1.2.2.1.10網卡收到流量IfInOctet
.1.3.6.1.2.1.2.2.1.16網卡送出流量IfOutOctet
.1.3.6.1.2.1.2.2.1.11網卡收到的封包數 IfInUcastPkts
.1.3.6.1.2.1.2.2.1.17網卡送出的封包數IfOutUcastPkts

CPU及負載

OID 說明 備註
.1.3.6.1.4.1.2021.11.9.0Cpu User ssCpuUser
.1.3.6.1.4.1.2021.11.10.0Cpu System ssCpuSystem
.1.3.6.1.4.1.2021.11.11.0Cpu Idle ssCpuIdle
.1.3.6.1.4.1.2021.11.50.0Cpu Raw User ssCpuRawUser
.1.3.6.1.4.1.2021.11.51.0Cpu Raw Nice ssCpuRawNice
.1.3.6.1.4.1.2021.11.52.0Cpu Raw System ssCpuRawSystem
.1.3.6.1.4.1.2021.11.53.0Cpu Raw Idle ssCpuRawIdle
.1.3.6.1.2.1.25.3.3.1.2Processor Load hrProcessorLoad
.1.3.6.1.4.1.2021.11.3.0Swap In ssSwapIn
.1.3.6.1.4.1.2021.11.4.0Swap Out SsSwapOut
.1.3.6.1.4.1.2021.11.5.0IO Sent ssIOSent
.1.3.6.1.4.1.2021.11.6.0IO Receive ssIOReceive
.1.3.6.1.4.1.2021.11.7.0Sys Interrupts ssSysInterrupts
.1.3.6.1.4.1.2021.11.8.0Sys Context ssSysContext
.1.3.6.1.4.1.2021.11.54.0Cpu Raw Wait ssCpuRawWait
.1.3.6.1.4.1.2021.11.56.0Cpu Raw Interrupt ssCpuRawInterrupt
.1.3.6.1.4.1.2021.11.57.0IO Raw Sent ssIORawSent
.1.3.6.1.4.1.2021.11.58.0IO Raw Received ssIORawReceived
.1.3.6.1.4.1.2021.11.59.0Raw Interrupts ssRawInterrupts
.1.3.6.1.4.1.2021.11.60.0Raw Contexts ssRawContexts
.1.3.6.1.4.1.2021.11.61.0Cpu Raw Soft IRQ ssCpuRawSoftIRQ
.1.3.6.1.4.1.2021.11.62.0Raw SwapIn ssRawSwapIn
.1.3.6.1.4.1.2021.11.63.0Raw Swap Out ssRawSwapOut
.1.3.6.1.4.1.2021.10.1.3.1Load5 Load5
.1.3.6.1.4.1.2021.10.1.3.2Load10 Load10
.1.3.6.1.4.1.2021.10.1.3.3Load15 Load15

儲存設備資料:1.3.6.1.2.1.25

OID 說明 備註
.1.3.6.1.2.1.25.2.2.0Memory Size hrMemorySize
.1.3.6.1.2.1.25.2.3.1.1Storage Index hrStorageIndex
.1.3.6.1.2.1.25.2.3.1.2Storage Type hrStorageType[OID]
.1.3.6.1.2.1.25.2.3.1.3Storage Descr hrStorageDescr
.1.3.6.1.2.1.25.2.3.1.4Storage Allocation Units hrStorageAllocationUnits
.1.3.6.1.2.1.25.2.3.1.5Storage Size hrStorageSize
.1.3.6.1.2.1.25.2.3.1.6Storage Used hrStorageUsed
.1.3.6.1.4.1.2021.4.3.0Total Swap SizememTotalSwap
.1.3.6.1.4.1.2021.4.4.0Available Swap SpacememAvailSwap
.1.3.6.1.4.1.2021.4.5.0Total RAM in machinememTotalReal
.1.3.6.1.4.1.2021.4.6.0Total RAM usedmemAvailReal
.1.3.6.1.4.1.2021.4.11.0Total RAM FreememTotalFree
.1.3.6.1.4.1.2021.4.13.0Total RAM SharedmemShared
.1.3.6.1.4.1.2021.4.14.0Total RAM BufferedmemBuffer
.1.3.6.1.4.1.2021.4.15.0Total Cached MemorymemCached
.1.3.6.1.4.1.2021.9.1.2Path where the disk is mounteddskPath
.1.3.6.1.4.1.2021.9.1.3Path of the device for the partitiondskDevice
.1.3.6.1.4.1.2021.9.1.6Total size of the disk/partion (kBytes)dskTotal
.1.3.6.1.4.1.2021.9.1.7Available space on the diskdskAvail
.1.3.6.1.4.1.2021.9.1.8Used space on the diskdskUsed
.1.3.6.1.4.1.2021.9.1.9Percentage of space used on diskdskPercent
.1.3.6.1.4.1.2021.9.1.10Percentage of inodes used on diskdskPercentNode

參考資料

https://ithelp.ithome.com.tw/articles/10191378

http://xstarcd.github.io/wiki/Linux/snmp_oids_summary.html