Complete!
yum install onealert agent successful!
start to set configuration...
initialize onealert agent.
onealert-config: INFO: Writing configuration.
onealert-config: INFO: All done.
initialize onealert done.
start add zabbix plugin.
Host [http://localhost/zabbix]:
Zabbix Admin User: lanbing
Zabbix Admin Password:
Select user type for new Zabbix user - [1] Super Admin, [2] Admin.
The user accesses monitoring data to enable this OneAlert integration [1]: 1
onealert-config.zabbix: INFO: Logging in to http://localhost/zabbix
onealert-config: ERROR: Error occured while running command
Traceback (most recent call last):
File "/usr/bin/onealert-config", line 266, in main
config['root'] = op_args.func(op_args.__dict__, config['root'])
File "/usr/bin/onealert-config", line 100, in add_plugin
plugin_config = configurer.generate_config(args)
File "/usr/lib/python2.7/site-packages/onealert/agent/core/spi/
configurers.py", line 82, in generate_config
conf = self._generate_config(args)
File "/usr/lib/python2.7/site-packages/onealert/agent/plugins/zabbix/
config.py", line 44, in _generate_config
self.login(args["host"], args["zabbix_admin_user"], args["zabbix_admin_password"], args["ignore_ssl_verification"])
File "/usr/lib/python2.7/site-packages/onealert/agent/plugins/zabbix/
config.py", line 91, in login
self.adminZapi.login(user, password)
File "/usr/lib/python2.7/site-packages/pyzabbix/
__init__.py", line 68, in login
self.auth = self.user.login(user=user, password=password)
File "/usr/lib/python2.7/site-packages/pyzabbix/
__init__.py", line 156, in fn
args or kwargs
File "/usr/lib/python2.7/site-packages/pyzabbix/
__init__.py", line 101, in do_request
timeout=self.timeout
File "/usr/lib/python2.7/site-packages/requests/
sessions.py", line 507, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/
sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/
sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/
adapters.py", line 415, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))
add zabbix plugin is done.
start run onealert agent...
Starting onealert (via systemctl): [ OK ]