본문 바로가기

반응형

zabbix-agent

[리눅스] zabbix(zabbix-agent) nginx의 성능 상태를 모니터링하는 방법 zabbix(zabbix-agent) nginx의 성능 상태를 모니터링하는 방법 nginx(default.conf) 설정 vim /etc/nginx/conf.d/default.conf location /basic_status { stub_status on; allow 127.0.0.1; deny all; access_log off; } $ cat /etc/nginx/conf.d/default.conf ... # nginx status location /basic_status { stub_status on; allow 127.0.0.1; deny all; access_log off; } ... systemctl restart nginx curl 테스트 curl -s localhost/basic_status.. 더보기
Zabbix 로그 파일 시간 형식(Log time format) Zabbix 로그 파일 시간 형식(Log time format) zabbix agent 로그 tail -f /var/log/zabbix/zabbix_agentd.log $ tail -f /var/log/zabbix/zabbix_agentd.log | grep agent.ping 14938:20210624:114055.396 Requested [agent.ping] 14937:20210624:114155.373 Requested [agent.ping] 14939:20210624:114255.787 Requested [agent.ping] 14938:20210624:114355.987 Requested [agent.ping] 14939:20210624:114455.011 Requested [agent.pin.. 더보기
CentOS 8에 Zabbix Agent 5.2를 설치하는 방법 CentOS 8에 Zabbix Agent 5.2를 설치하는 방법 1. Zabbix 저장소 설정 Zabbix 저장소를 추가합니다. sudo rpm -Uvh https://repo.zabbix.com/zabbix/5.2/rhel/8/x86_64/zabbix-release-5.2-1.el8.noarch.rpm 2. Zabbix Agent 설치 Zabbix Agent를 설치합니다. sudo dnf install zabbix-agent 3. Zabbix Agent 구성 Zabbix Agent 설정 파일(/etc/zabbix/zabbix_agentd.conf)을 열어서 Zabbix 서버의 IP 주소나 호스트 이름을 설정합니다. 아래와 같이 Server 또는 ServerActive 항목에 Zabbix 서버의 IP 주.. 더보기
[리눅스] zabbix agent install zabbix 아이템 수집 Active 방식 사전조건으로 에이전트 설정 파일에서 ServerActive의 IP를 지정해주어야 그 IP를 참조해서 데이터를 전송할 수 있다. Agent > Server로 데이터를 전송하는 방식(TCP 10051 포트를 이용) Item 구성 시 Zabbix Agent(active)를 선택하면 Active 방식으로 사용 가능 Passive 방식(Default) 별다른 설정없이 기본 동작 방식 Server > Agent로 데이터를 수집하는 방식(TCP 1005포트를 이용) Item 구성 시 Zabbix Agent를 선택하여 구성 출처: https://hakurei.tistory.com/271[Reimu's Development Blog] zabbix agent install #!/.. 더보기

728x90
반응형