bugfix:增加redis_exporter配置可执行文件

This commit is contained in:
fumingwei
2021-08-04 14:43:31 +08:00
parent ee1927a1bf
commit 59245337d9
3 changed files with 8 additions and 1 deletions

Binary file not shown.

View File

@@ -21,6 +21,13 @@
dest: /opt/tsg/exporter/systemd_exporter
mode: 0755
- name: "copy redis_exporter"
copy:
src: '{{ role_path }}/files/redis_exporter'
dest: /opt/tsg/exporter/redis_exporter
mode: 0755
when: PROFILE_ID == '7400-MCN0-P01R01'
- name: "copy ipmi_exporter"
copy:
src: '{{ role_path }}/files/ipmi_exporter'

View File

@@ -4,7 +4,7 @@ After=network.target maat-redis.service
Requires=maat-redis.service
[Service]
ExecStart=/usr/bin/redis_exporter -redis.addr=redis://localhost:7002 -redis-only-metrics
ExecStart=/opt/tsg/exporter/redis_exporter -redis.addr=redis://localhost:7002 -redis-only-metrics
Type=simple
[Install]