[root@ylx ~]# sudo AppKey=7c3069bb-b20c-0c14-47f2-a91d2e1c44eb Plugin=zabbix sh -c "$(curl -L
https://raw.githubusercontent.com/oneapm/onealert-agent-installer/master/onealert-zabbix-install-centos6.sh)"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2415 100 2415 0 0 5111 0 --:--:-- --:--:-- --:--:-- 22155
* start installing yum sources for onealert-agent
* installing the onealert agent package
Loaded plugins: fastestmirror
Determining fastest mirrors
* base:
mirror.lax.hugeserver.com * extras:
repos.lax.quadranet.com * updates:
linux.mirrors.es.nethttp://yum.110monitor.com/rpm/centos/6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: onealert-agent. Please verify its path and try again
yum install onealert agent successful!
start to set configuration...
initialize onealert agent.
sh: line 56: /usr/bin/onealert-config: No such file or directory
initialize onealert done.
start add zabbix plugin.
sh: line 59: /usr/bin/onealert-config: No such file or directory
add zabbix plugin is done.
start run onealert agent...
error reading information on service onealert: No such file or directory
initctl: Unknown job: onealert