Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5595

The "housekeeper" table shouldn't be updated when deleting a discovery rule or an item prototype

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.4rc1, 2.1.0
    • 2.0.2
    • API (A)
    • None

      When deleting an discovery rule these SQL requests are executed:

      ...
      SQL (0.000846): INSERT INTO housekeeper (tablename,field,value,housekeeperid) VALUES ('trends','itemid','24294','2192')
      CAPIObject->delete() > CAPIObject>__call() > czbxrpc::call() -> czbxrpc::callAPI() -> call_user_func() -> CDiscoveryRule>delete() -> DB::insert() -> DBexecute()

      SQL (0.0009): INSERT INTO housekeeper (tablename,field,value,housekeeperid) VALUES ('trends_uint','itemid','24294','2193')
      CAPIObject->delete() > CAPIObject>__call() > czbxrpc::call() -> czbxrpc::callAPI() -> call_user_func() -> CDiscoveryRule>delete() -> DB::insert() -> DBexecute()
      ...

      24294 - itemid of the discovery rule.

            Unassigned Unassigned
            sasha Alexander Vladishev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: