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

Ubiquiti LTE device show corrupt serial numbers

Details

    • Vendor Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Default

    Description

      Ubiquiti LTE device show corrupt serial numbers in the Event log and are been replaced perpetually in a stuck loop. Only happened after updating to 22.5 

      Attachments

        Activity

          [OBS-4107] Ubiquiti LTE device show corrupt serial numbers
          bot Observium Bot made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

          Thanks for looking at this and with the update installed, the repeated poling message have stopped and the record no longer shows a serial number.

          Thanks everyone

          HughesHall Paul Blaxill added a comment - Thanks for looking at this and with the update installed, the repeated poling message have stopped and the record no longer shows a serial number. Thanks everyone

          It seems that this device didn't respond to the serial (mac address) query this poll : 

          {{}}

          CMD[/usr/bin/snmpget -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m UBNT-AFLTU-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/ubiquiti 'udp':'hhhnroofap-a.hughes.ad.cam.ac.uk':'161' afLTUMac.0]

          CMD EXITCODE[0]
          CMD RUNTIME[0.0275s]

          STDOUT[{}}}{{{}No Such Object available on this agent at this OID{}}}{{{}]
          SNMP STATUS[FALSE]
          SNMP ERROR1000 - Failed response

           

          SQL[UPDATE `devices` set `uptime` ='21931026',`version` ='',`hardware` ='',`serial` ='',`last_polled` =NOW(),`last_polled_timetaken` ='1.5784' WHERE `device_id` = '38']SQL RUNTIME[0.00293589s] 
          o Updated Data         uptime, version, hardware, serial, last_polled, last_polled_timetaken

          Though it had a garbage serial in the database already from the previous poll:

            [serial]                    => string(8; UTF-8) "ô?¿i+"

          You should re-run the poll a couple of times to check for these parts and see what the device is returning for afLTUMac.0

          ./poller.php -h <device_id> -m os -d

          Or you can manually run the snmpget command a few times and see what it returns over time (might only change infrequently, or every poll).

          This definitely looks like a vendor bug that Ubnt need to fix.

          adam.

          adama Adam Armstrong added a comment - It seems that this device didn't respond to the serial (mac address) query this poll :  {{}} CMD [/usr/bin/snmpget -v2c -c *** -Pud -Ih -OQUvx --hexOutputLength=0 -m UBNT-AFLTU-MIB -M /opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp:/opt/observium/mibs/ubiquiti 'udp':'hhhnroofap-a.hughes.ad.cam.ac.uk':'161' afLTUMac.0] CMD EXITCODE [0] CMD RUNTIME [0.0275s] STDOUT [{}}}{{{}No Such Object available on this agent at this OID{}}}{{{}] SNMP STATUS [FALSE] SNMP ERROR 1000 - Failed response   SQL [UPDATE `devices` set `uptime` ='21931026',`version` ='',`hardware` ='',`serial` ='',`last_polled` =NOW(),`last_polled_timetaken` ='1.5784' WHERE `device_id` = '38'] SQL RUNTIME [0.00293589s]   o Updated Data         uptime, version, hardware, serial, last_polled, last_polled_timetaken Though it had a garbage serial in the database already from the previous poll:   [serial]                     => string(8; UTF-8) "ô?¿i+" You should re-run the poll a couple of times to check for these parts and see what the device is returning for afLTUMac.0 ./poller.php -h <device_id> -m os -d Or you can manually run the snmpget command a few times and see what it returns over time (might only change infrequently, or every poll). This definitely looks like a vendor bug that Ubnt need to fix. adam.
          landy Mike Stupalov made changes -
          Issue Type Original: Bug [ 1 ] New: Vendor Bug [ 10000 ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

          Your device seems have an memory leak and return random data on requests serial Oids.

          I added checks for valid serials for this os.
          Issue should be fixed in r12011.

          landy Mike Stupalov added a comment - Your device seems have an memory leak and return random data on requests serial Oids. I added checks for valid serials for this os. Issue should be fixed in r12011.
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: In Progress [ 3 ]

          New file uploaded

          HughesHall Paul Blaxill added a comment - New file uploaded
          HughesHall Paul Blaxill made changes -
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]
          HughesHall Paul Blaxill made changes -
          Attachment Original: poller.php -d -h hhhnroofap-a.hughes.ad.cam.ac.uk.docx [ 19812 ]

          People

            landy Mike Stupalov
            HughesHall Paul Blaxill
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: