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

Docs/specs/ZBXNEXT-814

From Zabbix.org
Jump to: navigation, search

Support of disabling media types

ZBXNEXT-814

Status: Final

Description

Summary

Zabbix media types should support disabling in order to prevent sending of messages to a specific media type.

Specification

If media type is enabled everything works as before, otherwise messages generated for the media type will not be sent and marked with message 'Media type is not active' in the action log. Disabled media types can be used everywhere in the front-end as active ones (media type selection dropdowns mainly) and shouldn't be marked differently.

Details

  • Media type form should be extended to have Enabled checkbox.
  • List of media types should display status (green - active, red - disabled). The column title is 'Status' and it is located after column 'Type'. It is because we may expect quite lengthy data in Used in actions column. The column will not be available for sorting.
  • Media type must change status on click on the status link. No popup should be displayed here.
  • Mass actions should be extended to support: Enable selected, Disable selected.

API changes

  • API to be extended to support new media_type.status

Database changes

  • New field for table 'media_type'
FIELD          |status         |t_integer      |'0'    |NOT NULL       |ZBX_SYNC