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

Housekeeping.php does not clean up ipv4/ipv6 entries for non-existing devices

Details

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

    Description

      I tried to clean up the SQL database with the housekeeping tool with parameter "-b" to cleanup all entries for non-existing devices and see that ipv4 and ipv6 addresses and their related networks are not getting cleaned up. Cleanup ist ipv4/ipv6_networks must be taken carefully, because network could exist on different valid devices.

      Attachments

        Activity

          [OBS-3280] Housekeeping.php does not clean up ipv4/ipv6 entries for non-existing devices

          Stale IP entries must be removed by ports cleanup, but now possible to exist IP addresses without associated ports,
          that why not always correctly cleaned.

          Fixed in r10339.

          landy Mike Stupalov added a comment - Stale IP entries must be removed by ports cleanup, but now possible to exist IP addresses without associated ports, that why not always correctly cleaned. Fixed in r10339.

          People

            landy Mike Stupalov
            dklimek Denis Klimek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: