1.更新oam_core计算内存占用率阈值算法, buff/cache不算已占用;

2.更新tsg-monitor.sh清理/tmp/_MEI临时文件,影响其他模块正常运行的BUG;
This commit is contained in:
lijia
2020-11-16 16:35:21 +08:00
parent 1e23a971b6
commit d9db681492
19 changed files with 73 additions and 43 deletions

View File

@@ -74,29 +74,44 @@
dest: "/opt/tsg/etc/tsg_series.json"
tags: template
#2020-11-13 lijia modify
- name: "copy tsg-monitor.service to destination server"
synchronize:
src: "{{ role_path }}/files/tsg-monitor.service"
dest: "/usr/lib/systemd/system"
#2020-11-13 lijia add
- name: "copy tsg_cluster_register.service to destination server"
synchronize:
src: "{{ role_path }}/files/tsg_cluster_register.service"
dest: "/usr/lib/systemd/system"
# 2020-11-13 lijia close
#- name: "copy tsg-monitor.sh to destination server"
# copy:
# src: "{{ role_path }}/files/tsg-monitor.sh"
# dest: "/opt/tsg/tsg-monitor/"
# mode: 0755
- name: "copy tsg-monitor.sh to destination server"
copy:
src: "{{ role_path }}/files/tsg-monitor.sh"
dest: "/opt/tsg/tsg-monitor/"
mode: 0755
- name: "copy rsyslog.conf to destination server"
synchronize:
src: "{{ role_path }}/files/rsyslog.conf"
dest: "/etc/"
- name: "copy tsg_monitor_cleanup_tmp.sh to destination server"
synchronize:
src: "{{ role_path }}/../tsg-common-files/tsg_monitor_cleanup_tmp.sh"
dest: "/opt/tsg/tsg-monitor/"
- name: "restart rsyslog service"
systemd:
name: rsyslog
state: restarted
- name: "enable tsg-monitor service"
systemd:
name: tsg-monitor
enabled: yes
daemon_reload: yes
state: restarted
- name: "enable tsg_cluster_register.service"
systemd: