How to install Zabbix on Ubuntu trusty – 14.04.1 LTS
Zabbix is a network server and monitoring software. It can be used to keep track of multiple physical or virtual private servers and network devices such a printer, switches or any other network attached device that has OS or supports SNMP, IPMI and JMX.
Zabbix is the most powerful open-source monitoring system currently on the market. For full list of features visit the official website:
https://www.zabbix.com/documentation/2.0/manual/introduction/features
Ubuntu has Zabbix in its repositories, but it is outdated. We will use the official zabbix ubuntu repository to get the latest stable version of the software:
Install the zabbix mysql server and zabbix frontend
Restart the MySQL service:
Set zabbix MySQL user password /etc/zabbix/zabbix_server.conf:
DBName=zabbix
DBUser=zabbix
DBPassword=Your.Password.Here
Go into the package directory and unzip the SQL files that will create the database environment:
sudo gunzip *.gz
Login into MySQL and create the zabbix user, grant the permissions for this user and import the database environment:
Copy zabbix.conf.php.example to zabbix.conf.php
cp /usr/share/doc/zabbix-frontend-php/examples/zabbix.conf.php.example /etc/zabbix/zabbix.conf.php
Edit /etc/zabbix/zabbix.conf.php and set db password:
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = 'Your.Password.Here'
Now go to http://localhost/zabbix/ and login using default username and password:
Username = admin
Password = zabbix