Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Default

    Description

      we found old and wrong entries as well in our observium database.
      1. When replacing a switch and rediscovering the device, the new details like "entPhysicalDescr" and Serialnumber will be added, but the old details will stay in the database. 
      2. after our last replacement, even the adding of the new details seems not be happend.
      how can we force the full rediscover without deleting and adding as a new device (we want to keep older metrics and graphs) and of course, cleaning up orphaned entries in the database

      I added two scrennshots from an DB export 

      Attachments

        Activity

          [OBS-4924] wrong entries in device database
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]

          Hi again.

          we were able to mitigate topic #2 by just renaming the "old" device which was not completely discoverd and adding it new.
          the new discovery process of the new device recognized the device correctly.
          we can keep it this way, 

          the other topic with the "old" entries was my mistake, i overlooked the deleted flag. so we are fine here.

          nsoc@deutz.com Network & Security Operating Center DEUTZ AG added a comment - Hi again. we were able to mitigate topic #2 by just renaming the "old" device which was not completely discoverd and adding it new. the new discovery process of the new device recognized the device correctly. we can keep it this way,  the other topic with the "old" entries was my mistake, i overlooked the deleted flag. so we are fine here.
          landy Mike Stupalov made changes -
          Status Original: In Review [ 10101 ] New: Pending Response [ 10000 ]

          Old entries remained in DB but with deleted flag (deleted field in db).

          Make and attach device debug discovery:

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

          landy Mike Stupalov added a comment - Old entries remained in DB but with deleted flag (deleted field in db). Make and attach device debug discovery: ./discovery.php -d -h <device>
          landy Mike Stupalov made changes -
          Comment [ _*General questions and device support can be discussed in [our Discord channel, click here to join|https://discord.gg/GjpNXKWm8W].*_
          ----

          Please make and attach additional information about the device:
           * full snmp dump from device:
          {noformat}
          snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1 > myagent.snmpwalk
          snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk
          {noformat}
            _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:
          {noformat}
          ./discovery.php -d -h <device>
          ./poller.php -d -h <device>
          {noformat}
           
          * additionally attach device and/or vendor specific MIB files

          ----
          {color:#505F79}_This comment is added automatically._{color} ]
          landy Mike Stupalov made changes -
          Status Original: Pending Response [ 10000 ] New: In Review [ 10101 ]

          Hi again.
          Problem 1 is not really a problem, just a Layer8 mistake

          But for the second topic: it seems, that the device is not properly discovered or "linked" to the correct MIB 
          I added the same device new (with a different "name" and then it worked properly but then i will loose all historical data which i want to avoid.

          nsoc@deutz.com Network & Security Operating Center DEUTZ AG added a comment - Hi again. Problem 1 is not really a problem, just a Layer8 mistake But for the second topic: it seems, that the device is not properly discovered or "linked" to the correct MIB  I added the same device new (with a different "name" and then it worked properly but then i will loose all historical data which i want to avoid.
          bot Observium Bot made changes -
          Component/s New: Default [ 10900 ]
          bot Observium Bot made changes -
          Assignee Original: Adam Armstrong [ adama ] New: Mike Stupalov [ landy ]
          bot Observium Bot made changes -
          Status Original: Open [ 1 ] New: Pending Response [ 10000 ]
          nsoc@deutz.com Network & Security Operating Center DEUTZ AG created issue -

          People

            landy Mike Stupalov
            nsoc@deutz.com Network & Security Operating Center DEUTZ AG
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: