host-agent 업데이트

This commit is contained in:
ByeonJungHun
2024-04-15 17:32:47 +09:00
parent 994d0afbe3
commit aa5d5f6ad0
7 changed files with 14 additions and 4 deletions

View File

@@ -6,9 +6,9 @@
- role: one_agent - role: one_agent
vars: vars:
EXEM_HOME: /home/exem EXEM_HOME: /home/exem
RECEIVER_ADDR: 10.10.38.132 RECEIVER_ADDR: 10.10.54.150
#RECEIVER_PORT: 9010 #RECEIVER_PORT: 9010
#RECEIVER_CONTAINER_PORT: 9009 #RECEIVER_CONTAINER_PORT: 9009
# port 설정이 필요할 경우 위 주석을 해제하고 설정 # port 설정이 필요할 경우 위 주석을 해제하고 설정
# RECEIVER_PORT 와 RECEIVER_CONTAINER_PORT 같은 경우 변수를 설정하지 않을 경우 default 값으로 각각 9010 , 9009 으로 설정 됨 # RECEIVER_PORT 와 RECEIVER_CONTAINER_PORT 같은 경우 변수를 설정하지 않을 경우 default 값으로 각각 9010 , 9009 으로 설정 됨
agent_list: ['host-agent', 'container-agent', 'ndm-agent'] agent_list: ['host-agent']

View File

@@ -3,8 +3,10 @@ host_agent
container_agent container_agent
[host_agent] [host_agent]
10.10.54.151
10.10.54.152
10.10.54.153
[container_agent] [container_agent]
[ndm_agent] [ndm_agent]
10.10.54.151

View File

@@ -0,0 +1,7 @@
#!/bin/sh
PRODUCT_NAME=exemONE
MODULE_NAME=exem-host-agent
VERSION=1.2.2
echo ${PRODUCT_NAME} ${MODULE_NAME} ver ${VERSION}

View File

@@ -34,6 +34,7 @@
ansible.builtin.copy: ansible.builtin.copy:
src: "{{ EXEM_HOME }}/host/os_binary/exem-host-agent_linux-2.6-x86_64-64" src: "{{ EXEM_HOME }}/host/os_binary/exem-host-agent_linux-2.6-x86_64-64"
dest: "{{ EXEM_HOME }}/host/bin/exem-host-agent" dest: "{{ EXEM_HOME }}/host/bin/exem-host-agent"
# remote_src: yes
mode: '0755' mode: '0755'
- name: Setting SELinux - name: Setting SELinux