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

Support additional OIDs on Draytek Routers

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • None
    • Poller

    Description

      A recent firmware on Draytek Vigor routers has added reporting of CPU usage % and Memory usage Percentage. There is also an optional USB temperature sensor which I have connected and would be useful to have graphed.

      Could these OIDs be polled?

      // cpu usage percentage
      HOST-RESOURCES-MIB::hrProcessorLoad.0 = INTEGER: 3
      // temperature sensor
      SNMPv2-SMI::enterprises.7367.1.1.0 = STRING: "37.0 C"
      // it is possible to connect 2 temperature sensors
      SNMPv2-SMI::enterprises.7367.1.2.0 = STRING: "No sensor"
      // memory usage percentage
      SNMPv2-SMI::enterprises.7367.3.7.0 = INTEGER: 89 
       
       

      Thanks

      Attachments

        Activity

          [OBS-3821] Support additional OIDs on Draytek Routers
          tom Tom added a comment -

          Thank you Mike.

          tom Tom added a comment - Thank you Mike.

          tom Thanks for your uploads.

          Support improved in r11554.

          landy Mike Stupalov added a comment - tom Thanks for your uploads. Support improved in r11554.
          tom Tom added a comment - - edited

          After some backwards and forward with draytek support (who kept saying that the knowledge base article was a mib file!) I have managed to get them to send it to me!
          [^DRAYTEK-CORPORATION.mib]

          It would be great if all the extra OIDS in that MIB could be supported as well (VPN info etc).

          Many thanks.

          tom Tom added a comment - - edited After some backwards and forward with draytek support (who kept saying that the knowledge base article was a mib file!) I have managed to get them to send it to me! [^DRAYTEK-CORPORATION.mib] It would be great if all the extra OIDS in that MIB could be supported as well (VPN info etc). Many thanks.
          tom Tom added a comment -

          I have contacted Draytek support to see if they can provide the MIB file

          tom Tom added a comment - I have contacted Draytek support to see if they can provide the MIB file

          I seen this KB, but I want real MIB, because our system better works with Named Oids and easy for adding.
          For "hidden" MIBs need custom code changes.

          landy Mike Stupalov added a comment - I seen this KB, but I want real MIB, because our system better works with Named Oids and easy for adding. For "hidden" MIBs need custom code changes.
          tom Tom added a comment - - edited

          Thanks for taking a look at this Mike.

          Draytek don't seem to publish a MIB file but the MIB is documented here: https://www.draytek.com/support/knowledge-base/5517
           
          Towards the bottom of the page it says: "The following OIDs are customized DrayTek-MIB" and then lists them.
          Interestingly that page says then sensor2 (that I don't have connected) is actually for a humidity sensor rather than a 2nd temperature as I thought, it would be useful for this to be polled as well for other users.

          Is this the information that you need?

           

          tom Tom added a comment - - edited Thanks for taking a look at this Mike. Draytek don't seem to publish a MIB file but the MIB is documented here: https://www.draytek.com/support/knowledge-base/5517   Towards the bottom of the page it says: "The following OIDs are customized DrayTek-MIB" and then lists them. Interestingly that page says then sensor2 (that I don't have connected) is actually for a humidity sensor rather than a 2nd temperature as I thought, it would be useful for this to be polled as well for other users. Is this the information that you need?  

          Can you fetch and attach device related MIB file (on vendor support page or in device SNMP menu)?
          Not sure where exactly it can be.

          landy Mike Stupalov added a comment - Can you fetch and attach device related MIB file (on vendor support page or in device SNMP menu)? Not sure where exactly it can be.
          tom Tom added a comment -

          My apologies - the processor OID is being detected and graphed. I had somehow missed it.
          So it is just the memory usage percentage and temperature sensors that need adding.

          tom Tom added a comment - My apologies - the processor OID is being detected and graphed. I had somehow missed it. So it is just the memory usage percentage and temperature sensors that need adding.

          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community>  --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community>  --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

            If device not support SNMP version 2c, replace -v2c with -v1.

          • If you have problems with discovery or poller processes, please do and attach these debugs:

            ./discovery.php -d -h <device>
            ./poller.php -d -h <device>

          • additionally attach device and/or vendor specific MIB files

          Note, this comment is added automatically.

          bot Observium Bot added a comment - Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> --hexOutputLength=0 -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files Note, this comment is added automatically.

          People

            landy Mike Stupalov
            tom Tom
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: