bugfix:增加redis_exporter配置可执行文件
This commit is contained in:
BIN
ansible/roles/exporter/files/redis_exporter
Normal file
BIN
ansible/roles/exporter/files/redis_exporter
Normal file
Binary file not shown.
@@ -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'
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user