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

/api/v0/devices/ returns incomplete list of devices since latest update

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Professional Edition
    • API
    • None

    Description

      Today I have run {{}}

      svn update .

      }} after seeing an out-of-date notice. The previous update was on 23 Feb. Version post update is {{{}23.4.12622 (4th April 2023).

      I am now observing that the device list obtained from /api/v0/devices/ is incomplete. A couple of devices are not listed. In contrast, the{{ /api/v0/inventory/}} is complete, specifically the devices missing from {{/api/v0/devices/ }}are included.

      I am reproducibly seeing this in our two instances. In one case 10 out of 431 devices are missing, in the other case 34 out of 623. There is no obvious hint towards specific models - the missing devices are wireless, firewalls, and F5's but also access switches. Same models with other serial numbers/names sow up fine. Also it does not seem to be related to a location or device name. The only thing that is constant is that it's always the same devices missing upon repeated API calls.

      Seems like a glitch in html/api/v0/includes/devices.inc.php perhaps?

      Attachments

        Activity

          People

            adama Adam Armstrong
            O Helge Oldach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: