See www.zabbix.com for the official Zabbix site.

Docs/specs/ZBXNEXT-1574

From Zabbix.org
Jump to: navigation, search

Removal of unknown events

ZBXNEXT-1574

Status: v1.0

Owner: Alexei, Sasha

Reasoning and overview

See ZBXNEXT-341

Specification (PART 1. Removal of unknown events)

GUI

  • Dashboard -> Status of Zabbix, Reports -> Status of Zabbix, Screen element Server info
    • Remove number of unknown triggers
  • Monitoring -> Events
    • Remove filter option 'Show unknown events'
    • Unknown and non-significant events will not be in the event list (also not in the DB)
  • Monitoring -> Event details
    • Unknown and non-significant events will not be in the event list (also not in the DB)
  • Reports -> Availability report
    • Remove column 'Unknown'
    • Change calculation algorithm accordingly (all time is OK before first event)
  • Reports -> Availability report -> Graph
    • Remove displaying of 'Unknown' info
    • Change calculation algorithm accordingly (all time is OK before first event)

API changes

  • API will not generate trigger unknown events anymore.
  • The following methods will be affected:
    • trigger.create
    • trigger.update (change of trigger expression, disabling trigger)
    • host.update (disabling host)
    • item.update (disabling item)

Server changes

  • Server will not generate trigger unknown and non-significant events
    • OK event is generated for new triggers when they are evaluated for the first time
  • Server will not generate unknown events on startup
  • Server will not use table 'ids' for operations with table 'events'
  • Processing of trigger 'unknown' flag
    • Server will not update trigger flag on startup
    • Otherwise trigger flag will be updated as in 2.0, no other changes

Database changes

  • Remove all unknown and non-significant events from the database
    • delete from events where source=TRIGGER and object=TRIGGER and (value=UNKNOWN or value_changed=0)
    • remove column value_changed

Documentation

  • What's new in 2.2
  • API reference
  • Update screenshots and descriptions
    • Monitoring->Events
    • Monitoring->Event details screenshots
    • Dashboard->Status of Zabbix, Reports->Status of Zabbix, Screen element Status of Zabbix
    • Reports->Availability report
    • Reports->Availability report->Graph

Test cases

  • Verify that all pages updated correctly
  • Constant TRIGGER_VALUE_UNKNOWN no longer exists in GUI and Server code
  • Front-end and API do not produce any events (no inserts into table 'events')
  • Server does not produce unknown events

ChangeLog

  • N/A