Thursday, 20 September 2012

How to install Zabbix 2.0 on ubuntu 12.04 LTS


Pre-Compiling and Installing Zabbix Server


  1. Install Zabbix server by entering the following command:
    sudo apt-get install zabbix-server-mysql
  2. Install the Zabbix web interface by entering the following command:
    sudo apt-get install zabbix-frontend-php
  3. Install the Zabbix agent by entering the following command:
    sudo apt-get install zabbix-agent
  4. Now Restart the Zabbix Server and Zabbix agent Serveices on Server by entering the following command:
    sudo /etc/init.d/zabbix-server restart
    sudo /etc/init.d/zabbix-agent restart
Zabbix is now installed and running on your Linode.

5.Open up a browser and point it to http://YourLinodeIP/zabbix to continue with the installation, where YourLinodeIP is the IP address of your Linode.
      Eg: https://192.168.28.100/zabbix


If you find any error with login GUI interface with admin please check your Mysql database. and reset Password of Admin with MD5. go through below screen-shoot.
# mysql  -uroot   -p
  Passwd: *********
mysql> show databases;
mysql> use zabbix;
mysql> show tables;
mysql> DESC users;
mysql> UPDATE users SET passwd=MD5('zabbix login password') WHERE name='Zabbix';




Now Restart the Apache, Mysql and Zabbix  Services and now try to login.
# sudo /etc/init.d/apache2 restart
# sudo /etc/init.d/mysql restart
# sudo /etc/init.d/zabbix-server  restart 
# sudo /etc/init.d/zabbix-agent  restart 


Now Installation of Zabbix Agent on that server who want to Monitor.
    sudo apt-get install zabbix-agent
     Now configure zabbix-agent configuration file.
    Sudo  vim  /etc/zabbix/zabbix-agented.conf
     


















Now Restart Zabbix Agent Services:

sudo  /etc/init.d/zabbix-agent  restart

Now go to Zabbix Server and Add Zabbix Agent Server .


Now Create Graph Who Want to Monitor That Server's 


         NOW YOU CAN KEEP MAXIMUM UP TIME OF YOUR SERVER'S

5 comments:

  1. this setup only install version 1.8.x. Does anyone have a link or setup instruction for 2.0 or 2.2?

    ReplyDelete
  2. Yes, this setup can install anyone for 2.0 on Ubuntu

    ReplyDelete
  3. Bullshit. 2.0? Yeah, right. You have 1.8.8 on the screenshots. There is no official ports for 12.04!

    ReplyDelete
  4. Link: how to install Zimbra on Ubuntu step by step: http://dtpsc.com/index.php/lab/258-how-to-install-zimbra

    ReplyDelete