action(动作)管理
action列表
[root@Linux ~]#zabbix_api action_get --table
1.2.2
+----------+------------------------------------------------+--------------+----------+
| actionid | name | eventsource | status |
+----------+------------------------------------------------+--------------+----------+
| 2 | Auto discovery. Linux servers. | discovery | Disabled |
| 3 | Report problems to Zabbix administrators | triggers | Disabled |
| 4 | Report not supported items | internal | Disabled |
| 5 | Report not supported low level discovery rules | internal | Disabled |
| 6 | Report unknown triggers | internal | Disabled |
| 7 | ceshi_action | registration | Enabled |
| 8 | trigger_action | triggers | Enabled |
+----------+------------------------------------------------+--------------+----------+
sum: 7
zabbix客户端自动注册 action
功能:
zabbix_api action_autoreg_create "ceshi_action" "Linux servers"