Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-688

[mini_snmpd] Support for dsk and memory

Details

    • New Feature
    • Resolution: Fixed
    • Trivial
    • None
    • None
    • Discovery, Poller
    • Observium CE 0.13.10.4585 / Mini_snmpd v1.1 and v1.2b

    Description

      Mini SNMP is a tiny implementation of snmpd. It can run on embedded devices, like routers and storage devices. It is also part of the OpenWrt project.

      Currently, this minimalistic daemon does implement only a very small subset information. When Obsersium tries to do discovery/polling these kind of devices, they cannot find any hrStorageEntries. This causes storage and memory pools undetected.

      The information however is there, in example a dskEntry can be found when walking the information.

      Currently I am working on a small implementation to support to load, memory and storage usage on those devices. After I finish, I'd like to contribute a patch when it is working.

      However, as careful I as i will code, using snmp and observium is not my core business, so I might need someone to review and polish it a bit after it works

      I already started working on it. When I have a fully working version, I will upload a patch against 0.13.10.4585 here.

      Attachments

        Activity

          [OBS-688] [mini_snmpd] Support for dsk and memory

          UCD-SNMP-MIB fully supported now independently of HOST-RESOURCES-MIB.
          Wait this in next CE edition.

          landy Mike Stupalov added a comment - UCD-SNMP-MIB fully supported now independently of HOST-RESOURCES-MIB. Wait this in next CE edition.

          Attached a small part of the mini_snmpd source and a complete snmpwalk over it.

          As far I can see, only the uptime is available inside HOST-RESOURCES-MIB, the other information is found under UCD-SNMP-MIB.

          Glad to hear dskEntry will be available in the next community edition.

          svdh Stephan van de Haar added a comment - Attached a small part of the mini_snmpd source and a complete snmpwalk over it. As far I can see, only the uptime is available inside HOST-RESOURCES-MIB, the other information is found under UCD-SNMP-MIB. Glad to hear dskEntry will be available in the next community edition.

          Does that apply for devices with no HOST-RESOURCES-MIB?

          adama Adam Armstrong added a comment - Does that apply for devices with no HOST-RESOURCES-MIB?

          MIB UCD-SNMP-MIB::dskEntry already supported in latest svn (Subscription Edition).
          Respectively, support this MIB will be fully added to the next Community Edition.

          landy Mike Stupalov added a comment - MIB UCD-SNMP-MIB::dskEntry already supported in latest svn (Subscription Edition). Respectively, support this MIB will be fully added to the next Community Edition.

          Still running like expected, no bugs found yet. Guess I can consider this one stable on the first try

          svdh Stephan van de Haar added a comment - Still running like expected, no bugs found yet. Guess I can consider this one stable on the first try

          First version.. seems to work well now for a few days. Tested on two devices running mini snmpd v1.2b.

          Other hosts with hr* support and normal snmpd seem to be unaffected by this patch and do run like normal.

          svdh Stephan van de Haar added a comment - First version.. seems to work well now for a few days. Tested on two devices running mini snmpd v1.2b. Other hosts with hr* support and normal snmpd seem to be unaffected by this patch and do run like normal.

          People

            landy Mike Stupalov
            svdh Stephan van de Haar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: