Centos7.x elastalert安装配置

一、elastalert安装
yum -y install git
git clone https://github.com/Yelp/elastalert.git && cd elastalert/

下载setuptools安装包
wget https://pypi.python.org/packages/69/56/f0f52281b5175e3d9ca8623dadbc3b684e66350ea9e0006736194b265e99/setuptools-38.2.4.zip#md5=e8e05d4f8162c9341e1089c80f742f64

解压及安装
unzip setuptools-38.2.4.zip
cd setuptools-38.2.4/
python setup.py build
python setup.py install

elastalert安装
python setup.py install
python setup.py install

二、elastalert配置
创建配置文件
cp config.yaml.example config.yam

你可能感兴趣的:(自动化运维)