3.0 사용하다 6.4에서 구성 하려니, 구성하는게 뭐이렇게 어려웠나 싶을정도 ...
system.run 으로 처리하려 했는데 unknown metric 이라고 떴음.
찾아보니 agent 서버의 zabbix-agent 설정파일에 AllowKey 라고 써줘야 한단다.
일단 zabbix 구동 계정이 root이기 때문에 sudoers는 별도 수정은 하지 않았음.
예시가 jstat 설정이긴 한데 설정하는 방법 내용은 같아서 아래 참고페이지 링크
https://www.dbi-services.com/blog/zabbix-defining-custom-monitoring-metric/
Defining Custom Monitoring Metric in Zabbix
What are the possibilities to collect custom metrics and store them into Zabbix. This blog will explain you how.
www.dbi-services.com
- zabbix-agent2.conf 수정
- zabbix 재기동 후 아이템 테스트
# systemctl restart zabbix-agent2
728x90
'업무 > zabbix' 카테고리의 다른 글
[zabbix] zabbix-java-gateway 설정 (0) | 2023.12.15 |
---|---|
[zabbix][6.4]no active checks on server [ip]: host [hostname] not found (0) | 2023.12.13 |