Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitoring Performance with SNMP #27

Open
tzach opened this issue Feb 12, 2014 · 1 comment
Open

Monitoring Performance with SNMP #27

tzach opened this issue Feb 12, 2014 · 1 comment

Comments

@tzach
Copy link
Member

tzach commented Feb 12, 2014

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

@tzach
Copy link
Member Author

tzach commented Feb 12, 2014

One alternative for implementation is
http://www.net-snmp.org/
a BSD like license and used in other OS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant