nc-env / templates / template16-zabbix-server /
@pmarini pmarini authored on 21 Mar 2023
..
artifacts add zabbix template 2 years ago
Readme.md add zabbix template 2 years ago
Vagrantfile add zabbix template 2 years ago
provision.sh add zabbix template 2 years ago
Readme.md

Zabbix Server for monitoring

Setup

  • Assuming that the copy of the template is called zabbix-server, move to folder zabbix-server.
  • Check the content of folder artifacts
File name Description
pg_hba.conf Postgres db configuration file
rootCA.pem The rootCA previously created in your host machine
rootCA-key.pem The rootCA key previously created in your host machine
zabbix.conf.php Zabbix PHP configuration file
zabbix-release_X.Y-Z+ubuntu22.04_all.deb Apt repository installation package
zabbix_server.conf Main Zabbix configuration file
zabbix_virtualhost.conf Apache Virtualhost file for Zabbix Web Interface
  • Create folder log
  • Open Vagrantfile and change the value of variable lxd.name. It makes sense to give the same name as the folder, in this example zabbix-server.
  • Open provision.sh
    • change the value of variable MACHINE_HOSTNAME. It makes sense to give the same name as the folder, plus the domain, in this example zabbix-server.localenv.com.
    • change the value of variable ZABBIX_DEB_PACKAGE.
  • Run vagrant up > log/provisioning.log
  • Make sure your system is able to resolve the domain name that you specified in variable MACHINE_HOSTNAME, for example by adding an entry in /etc/hosts
  • Start using your environment