Skip to content

srinivasanvalliappan/ansible-zabbix-server-host

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

ansible-zabbix-server-host

simple zabbix-server setup configuration with Ansible Playbook, This is simple lightweight configuration repository will contain all setup's and needed to correctly configure a Zabbix Server Requirements

Operating systems

  • Red Hat

Zabbix Version

Default zabbix release 3.4 Also change zabbix release version in default variable file zabbix_repo_package : ['https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-1.el7.noarch.rpm']

Installation

Use runsetup.yml file as host filerun playbook

$ ansible-playbook /path/runsetup.yml -i /path/inventory.txt

Role Variables

Variables Descriptions
zabbix_repo_package zabbix dependency variables
zabbix_server_mysql zabbix server installation pakages
zabbix_conf_path default configuration path
zabbix_server_path default server configuration path

Database

Variables Descriptions
mysql_hostname mysql user name (default: zabbix)
mysql_db_name mysql database name (default: zabbix)
mysql_pass mysql zabbix user password (default: root123)
mysql_default_host mysql host (default: localhost)

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

MIT

Author Information

This is my first attempt to create an ansible role, so please send suggestion or pull requests to make this role better.

Github: https://github.com/sarath196/ansible-zabbix-server-host Mail: ksarath196@gmail.com

About

Automate Zabbix Server setup Configuration With Ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published