Open
Description
SNMP is widely used binary protocol for system monitoring.
Information elements are define using MIBs in a ASN.1 format.
Each MIB includes a tree of OID, each refer to a particular information element.
SNMP allows monitoring, notification and updates. This issue scope is the first two.
Other OS support a set of standards MIBs.
It will be useful for OSv to use the same MIBs, making integration with existing monitoring system easier.
The following include a small subset of important and relevant MIB and OID.
- Host info [1]
HOST-RESOURCES-MIB::hrSystem::hrSystemUptime
HOST-RESOURCES-MIB::hrSystem::hrSystemDate
HOST-RESOURCES-MIB::hrDevice::hrNetworkTable - System info [2]
UCD-SNMP-MIB::systemStats::ssCpuIdle
UCD-SNMP-MIB::systemStats::ssRawSwapIn
UCD-SNMP-MIB::systemStats::ssRawSwapOut
UCD-SNMP-MIB::systemStats::ssCpuRawWait
UCD-SNMP-MIB::systemStats::ssCpuRawIdle
UCD-SNMP-MIB::memory (see all OID in reference) - networking [3]
IF-MIB::ifTable
IF-MIB::ifOutOctets
IF-MIB::ifInOctets
[1] http://www.oidview.com/mibs/0/HOST-RESOURCES-MIB.html
[2] http://www.oidview.com/mibs/2021/UCD-SNMP-MIB.html
[3] http://www.oidview.com/mibs/0/IF-MIB.html