2022 Zabbix中国峰会
2022 Zabbix中国峰会

9 事件通知(ZX)

9 Notifications upon events




Assuming that we have configured some items and triggers and now are getting some events happening as a result of triggers changing state, it is time to consider some actions.


To begin with, we would not want to stare at the triggers or events list all the time. It would be much better to receive notification if something significant (such as a problem) has happened. Also, when problems occur, we would like to see that all the people concerned are informed.

这就是为什么发送通知是Zabbix提供的主要动作之一, 可以在特定事件中通知到谁以及什么时间通知。

That is why sending notifications is one of the primary actions offered by Zabbix. Who and when should be notified upon a certain event can be defined.


To be able to send and receive notifications from Zabbix you have to:


Actions consist of conditions and operations. Basically, when conditions are met, operations are carried out. The two principal operations are sending a message (notification) and executing a remote command.


For discovery and auto-registration created events, some additional operations are available. Those include adding or removing a host, linking a template etc.