zabbix test를 위한 샘플 코드 추가
This commit is contained in:
@@ -28,4 +28,4 @@
|
|||||||
10.10.43.230
|
10.10.43.230
|
||||||
10.10.43.235
|
10.10.43.235
|
||||||
10.10.43.236
|
10.10.43.236
|
||||||
10.10.43.252
|
10.10.43.252
|
||||||
5
ansible/zabbix_agent/inventory/saas-mgmt
Normal file
5
ansible/zabbix_agent/inventory/saas-mgmt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[all]
|
||||||
|
10.10.43.240 ansible_user=dev2-iac ansible_port=2222
|
||||||
|
10.10.43.241 ansible_user=dev2-iac ansible_port=2222
|
||||||
|
10.10.43.242 ansible_user=dev2-iac ansible_port=2222
|
||||||
|
10.10.43.243 ansible_user=dev2-iac ansible_port=2222
|
||||||
28
ansible/zabbix_agent/test.yaml
Normal file
28
ansible/zabbix_agent/test.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- role: zabbix-agent
|
||||||
|
zabbix_api_server_host: 10.10.43.97
|
||||||
|
zabbix_api_server_port: 80
|
||||||
|
ansible_zabbix_url_path: "/"
|
||||||
|
zabbix_api_login_user: Admin
|
||||||
|
zabbix_api_login_pass: zabbix
|
||||||
|
zabbix_api_create_hostgroup: false
|
||||||
|
zabbix_api_create_hosts: true
|
||||||
|
zabbix_agent_host_state: present
|
||||||
|
zabbix_host_groups:
|
||||||
|
- Linux servers
|
||||||
|
- Virtual machines
|
||||||
|
zabbix_agent_visible_hostname: "{{ ansible_fqdn }}"
|
||||||
|
zabbix_agent_server: 10.10.43.97
|
||||||
|
zabbix_agent_serveractive: 10.10.43.97
|
||||||
|
zabbix_agent_link_templates:
|
||||||
|
- Linux by Zabbix agent
|
||||||
|
zabbix_agent_version: 6.4
|
||||||
|
zabbix_agent_unsafeuserparameters: 1
|
||||||
|
zabbix_agent_userparameters:
|
||||||
|
- name: zombie
|
||||||
|
- name: zombielist
|
||||||
|
- name: dev2_iac_pass_failed
|
||||||
|
- name: dev2_pass_failed
|
||||||
|
- name: root_pass_failed
|
||||||
Reference in New Issue
Block a user