libyanspider.zabbix_agent_role
Zabbix Agent
Ansible role for installing and setting up Zabbix Agent (v1) on Linux and Windows machines.
Requirements
- community.mysql.mysql_user
Role Variables
- zabbix_server: '' # (required) Enter the hostname of the Zabbix Server. Example: zabbix.mydomain.com
- zabbix_server_ip: '' # (required) Enter the public IP address of the Zabbix Server
- zabbix_version: 5.0 # (required) Enter the major version of Zabbix Agent you want to install. Example: 5.0
- zabbix_minor_version: 26 # (required) Enter the minor version of Zabbix Agent you want to install. Example: 26
- snmpd_community: '' # (optional) Set this if you want to allow the community from the Zabbix server IP for Net-SNMP configuration
- install_mysql_plugin: true # (optional) This option installs extra steps for MySQL monitoring on the host.
- add_host_to_zabbix_server: false # (optional) Set to
trueif you want to automatically add the host to the Zabbix Server through the API. - zabbix_server_url: '' # (optional) Specify the Zabbix API URL. Example: https://zabbix.mydomain.com
- zabbix_server_login_user: '' # (optional) Enter the Zabbix API username
- zabbix_server_login_password: '' # (optional) Enter the Zabbix API password
Dependencies
- libyanspider.firewall_ansible_role
Example Playbook
Here’s a simple example showing how to use this role with some variables:
- hosts: servers
roles:
- { role: libyanspider.zabbix_agent_role, zabbix_server: zabbix.mydomain.com, zabbix_server_ip: 127.0.0.1}
License
MIT
Author Information
Ahmed Shibani (#shumbashi)
Installa
ansible-galaxy install libyanspider.zabbix_agent_roleLicenza
Unknown
Download
569
Proprietario
