revenni.zabbix_agent
revenni.zabbix_agent
Zabbixエージェント(4.0)のインストールと設定を提供するAnsibleロール
要件
- なし
ロール変数
一般的な変数(defaults/main.ymlに宣言され、vars/main.ymlで上書き)
zabbix_agent_pid_file
(/var/run/zabbix/zabbix_agentd.pid) - PIDファイルのパスzabbix_agent_log_file
(/var/log/zabbix/zabbix_agentd.log) - Zabbixエージェントのログのパスzabbix_agent_config_file
(/etc/zabbix/zabbix_agentd.conf) - Zabbixエージェントの設定ファイルzabbix_agent_include_path
(/etc/zabbix/zabbix_agent.d/*.conf) - ユーザーパラメータファイルのパスzabbix_agent_psk_file
(/etc/zabbix/zabbix_agentd.psk) - プレシェアードキーのファイルzabbix_agent_psk_hash
(kmWCW6jtSSFK7XRuMJct2fVINNL1QTYt) - プレシェアードキーはansible_fqdnのmd5 + ここに指定されたハッシュです。pwgen -s 32 1
を実行して変更してください。zabbix_agent_log_size
(0) - ログをローテートするサイズ(MB)。 0 = logrotateを使用zabbix_agent_server_ip
(127.0.0.1) - ZabbixサーバーのIPアドレスzabbix_agent_server_active_ip
(127.0.0.1) - アクティブチェックを提供するZabbixサーバーのIP
依存関係
- なし
サンプルプレイブック
- hosts: all
become: true
roles:
- { role: revenni.zabbix_agent, tags: zabbix_agent }
ライセンス
MIT
著者情報
インストール
ansible-galaxy install revenni.zabbix_agent
ライセンス
mit
ダウンロード
83
所有者
Revenni is a Toronto based consulting firm specializing in open source Infrastructure as Code, System Administration / DevOps, and Remediation services.