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

Devices view - select vendor dropdown contains invalid entry

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • None
    • Professional Edition
    • Web Interface
    • None

    Description

      Extremely minor but I thought I'd mention it - in my devices view, when I click the 'select vendor' option, the first thing listed under 'other' is

       

      /bin/cat: /sys/devices/virtual/dmi/id/sys_vendor: No Such File Or Directory

       

      Isn't causing any problems tho.

      Attachments

        Activity

          [OBS-4231] Devices view - select vendor dropdown contains invalid entry
          kingtrw Tom King added a comment -

          Thanks, this solved it!

          kingtrw Tom King added a comment - Thanks, this solved it!

          Excluded such string in poller after r12290.

          landy Mike Stupalov added a comment - Excluded such string in poller after r12290.

          This is because you're injecting it into SNMP on a device which doesn't have those /sys/ entries:

          # This lines allows Observium to detect hardware, vendor and serial
          extend .1.3.6.1.4.1.2021.7890.2 hardware /bin/cat /sys/devices/virtual/dmi/id/product_name
          extend .1.3.6.1.4.1.2021.7890.3 vendor /bin/cat /sys/devices/virtual/dmi/id/sys_vendor
          extend .1.3.6.1.4.1.2021.7890.4 serial /bin/cat /sys/devices/virtual/dmi/id/product_serial

          You if those /sys/ entries don't exist on any device, remove those entries from /etc/snmp/snmpd.conf

          adama Adam Armstrong added a comment - This is because you're injecting it into SNMP on a device which doesn't have those /sys/ entries: # This lines allows Observium to detect hardware, vendor and serial extend .1.3.6.1.4.1.2021.7890.2 hardware /bin/cat /sys/devices/virtual/dmi/id/product_name extend .1.3.6.1.4.1.2021.7890.3 vendor /bin/cat /sys/devices/virtual/dmi/id/sys_vendor extend .1.3.6.1.4.1.2021.7890.4 serial /bin/cat /sys/devices/virtual/dmi/id/product_serial You if those /sys/ entries don't exist on any device, remove those entries from /etc/snmp/snmpd.conf

          General questions and device support can be discussed in our Discord channel, click here to join.


          Please make and attach additional information about the device:

          • full snmp dump from device:

            snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk
            snmpwalk -v2c -c <community> -t 3 -Cc --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

          This comment is added automatically.

          bot Observium Bot added a comment - General questions and device support can be discussed in our Discord channel, click here to join . Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --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 This comment is added automatically.

          People

            adama Adam Armstrong
            kingtrw Tom King
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: