ZABBIX BUGS AND ISSUES

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0.2
  • Fix Version/s: 2.0.4rc1, 2.1.0
  • Component/s: API (A)
  • Labels:
    None
  • Zabbix ID:
    RTF

Description

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.

Activity

Hide
Pavels Jelisejevs added a comment -

TESTED.

Show
Pavels Jelisejevs added a comment - TESTED.
Hide
Alexander Vladishev added a comment -

Fixed in pre-2.0.4 r30574 and pre-2.1.0 (trunk) r30575.

Show
Alexander Vladishev added a comment - Fixed in pre-2.0.4 r30574 and pre-2.1.0 (trunk) r30575.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: