Installing Zabbix
Installing Zabbix
com
=======================
Version: Zabbix 3.4
Distro: Ubuntu 18.04 (Bionic)
Database: MySQL
1) wget https://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-
release/zabbix-release_3.4-1+bionic_all.deb
2) dpkg -i zabbix-release_3.4-1+bionic_all.deb
3) apt update
sudo mysql_secure_installation
check status:
sudo service mysql status
DBPassword=password
Step 1
In your browser, open Zabbix URL: http://<server_ip_or_name>/zabbix
You should see the first screen of the frontend installation wizard.
Step 2
Make sure that all software prerequisites are met.
Optional pre-requisites may also be present in the list. A failed optional
prerequisite is displayed in orange and has a Warning status. With a failed
optional pre-requisite, the setup may continue.
Step 3
Enter details for connecting to the database. Zabbix database must already be
created. (the Password is the one that was configured earlier: "password")
Step 5
Review a summary of settings.
Step 6
Download the configuration file and place it under conf/ in the webserver HTML
documents subdirectory where you copied Zabbix PHP files to.
NB:
Providing the webserver user has write access to conf/ directory the configuration
file would be saved automatically and it would be possible to proceed to the next
step right away.
Step 7
Finish the installation.
Step 8
Zabbix frontend is ready! The default user name is Admin, password zabbix.
snmpwalk -v2c -c < community-string > < managemnt ip address of switch >
On switch:
config)# snmp-server community < community-string >
config)# snmp-server location < eg. room_4 >
config)# snmp-server contact < eg. iokidi >
Templates tab:
link new template: select Templates SNP Device, then hit Add button, then
update.
Now wait for about 1 hour until template properties are fully updated.
==============================================================================
NOTE:
==============================================================================
Before uninstalling mysql you may need to backup:
Then run automysqlbackup from the command-line, and make also a backup of /etc
directory :
sudo /usr/sbin/automysqlbackup
sudo rsync -av /etc/ $HOME/etc-backup/
uninstall
===================================================
1)