zabbix_write
Apply permitted Zabbix changes in one call and record them in the audit log. Use for event acknowledgements, maintenance windows, and trigger enable/disable, with destructive operations flagged.
Instructions
Change Zabbix in one call and record it in the audit log. Use when the user wants a permitted change applied now rather than only described. To show the operator the change before anything is written, call zabbix_plan_create instead; to check a plan that already exists, call zabbix_plan_status.
Prefer the narrowest operation that does the job and say plainly what you did. Operations marked destructive remove something Zabbix cannot restore on its own.
Available operations: api.call — Call a Zabbix API method directly. events.acknowledge — Acknowledge an event, comment on it, close it or change its severity. maintenance.create — Open a maintenance window over hosts or host groups. maintenance.delete — Remove a maintenance window permanently. (destructive) maintenance.expire — End a maintenance window now, keeping its record. maintenance.extend — Push a maintenance window's end further out. triggers.disable — Disable a trigger so it stops raising problems. (destructive) triggers.enable — Re-enable a disabled trigger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | parameters for the operation; call zabbix_write with an unknown parameter to be told the accepted ones | |
| operation | Yes | the change to make |