1 | (v_python3.6) htf@linux-rzt3:~/PycharmProjects/python3.6/ServiceConnectEvolution> pip install psutil |
缺少Python.h
1 | htf@linux-rzt3: ~ > sudo zypper install python3-devel |
1 | (v_python3.6) htf@linux-rzt3:~/PycharmProjects/python3.6/ServiceConnectEvolution> pip install psutil |
缺少Python.h
1 | htf@linux-rzt3: ~ > sudo zypper install python3-devel |
salt推送报pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
1 | cmd_|-python_requirements_|-/usr/local/_python3.6.1/bin/pip3 install -r sce_requirements.txt_|-run: |
应该是openssl相关的包有问题
1 | [root@192_168_1_1 bin]# rpm -qa |grep openssl |
没有devel包
1 | # yum install -y openssl-devel |
下载kubernetes源码包
1 | [root@localhost ~]# cd /usr/local/src/ |
收集es中指定索引中的所有request_time及request字段,并处理成报表.
source /virtual_python3.6.1/bin/activate
1 | /elasticsearch_request_time_collect.py [--命令选项] [参数] |
1 | # default args |
1 | time python elasticsearch_request_time_collect.py -i *access.log -d 2017.08.16 -h 192.168.1.1 |
source ~/.virtualenvs/rundeck3.6/bin/activate
1 |
|
/tmp/rundeck_job_status.py.log.${date},${hour.min}
eg: /tmp/rundeck_job_status.py.log.2017-06-27,16.22
每日23:59分执行
邮件内容
订阅 | 说明 |
---|---|
常规订阅: | 如果需要添加日报订阅者,直接rundeck_result.start任务,option上添加订阅者邮箱即可,使用”,”号分割。 |
临时订阅: | 如果是临时订阅,在任务运行界面mailto参数上点击”New Value”,输入订阅者邮件地址。 |