在www.onealert.com上
获取key值
安装步骤:
[root@server1 zabbix安装包]# cp oneitsm_zabbix_release-1.2.0.tar.gz /usr/lib/zabbix/alertscripts/
[root@server1 zabbix安装包]# cd /usr/lib/zabbix/alertscripts/
[root@server1 alertscripts]# ls
oneitsm_zabbix_release-1.2.0.tar.gz
[root@server1 alertscripts]# tar zxf oneitsm_zabbix_release-1.2.0.tar.gz
[root@server1 alertscripts]# cd oneitsm
[root@server1 oneitsm]# ls
bin logs release update
[root@server1 oneitsm]# cd bin/
[root@server1 bin]# ./install.sh 2f1f8562-e8be-a1de-84bc-118178a4963b
./log.sh: line 6: /usr/lib/zabbix/alertscripts/oneitsm/bin/oneitsm.conf: No such file or directory
start to create config file...
Zabbix管理地址: http://172.25.76.1/zabbix
Zabbix管理员账号: Admin
Zabbix管理员密码:
禁用其他报警媒介
测试
[root@server2 ~]# systemctl stop zabbix-agent