zabbix는 서버에서 Host 등록을 하고 agent 설치를 진행한다. Host에 등록하지 않고 모니터링 대상 서버를 등록하는 방법
1. Zabbix 서버 설정
Zabbix 서버의 메뉴 Configuration --> Actions -->Event Source -->Auto Registration(선택)
Create Action --> Condition(메뉴선택) Host metadata like Windows(윈도우일경우) -->Add
Operations(메뉴선택) --> Operation type --> Link to template 선택 -->적용할 template(Template OS Windows) 선택 --> Add
필요할 경우
Operation type --> Add To Hostgroup으로 원하는 그룹에 등록 가능
- Name: Windows host autoregistration
- Conditions: Host metadata like Windows
- Operations: Link to templates: Template OS Windows
2. Zabbix Agent 설정
zabbix_agentd.conf 파일수정
(1) ServerActive=10.0.0.1 (zabbix 서버IP)
(2) HostMetadataItem=system.uname
HostMetadataItem 정보에 OS가 포함되어있음
Ex)
Windows: Windows WIN-0PXGGSTYNHO 6.0.6001 Windows Server 2008 Service Pack 1 Intel IA-32
Linux: Linux server3 3.2.0-4-686-pae #1 SMP Debian 3.2.41-2 i686 GNU/Linux
아래메뉴얼 참고
https://www.zabbix.com/documentation/3.0/manual/discovery/auto_registration
'Zabbix' 카테고리의 다른 글
zabbix_proxy - cannot connect [13] permission denied 해결 (0) | 2018.07.04 |
---|---|
Agent 컴파일 하여 설치 (0) | 2018.06.22 |
zabbix 최소 DATA만 백업 하는법 (0) | 2018.01.29 |
zabbix 사용자 등록 (0) | 2017.12.06 |
zabbix 3.0 웹페이지 그래프 한글 깨짐 해결 (0) | 2016.09.30 |