<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Zabbix%3A_Instalasi_di_Ubuntu</id>
	<title>Zabbix: Instalasi di Ubuntu - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Zabbix%3A_Instalasi_di_Ubuntu"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Zabbix:_Instalasi_di_Ubuntu&amp;action=history"/>
	<updated>2026-04-26T18:16:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Zabbix:_Instalasi_di_Ubuntu&amp;diff=43990&amp;oldid=prev</id>
		<title>Onnowpurbo at 09:53, 23 July 2015</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Zabbix:_Instalasi_di_Ubuntu&amp;diff=43990&amp;oldid=prev"/>
		<updated>2015-07-23T09:53:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:53, 23 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l107&quot;&gt;Line 107:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 107:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then restart Apache.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then restart Apache.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Installing Zabbix agent(s) on server machines.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Installing Zabbix agent(s) on server machines.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Zabbix:_Instalasi_di_Ubuntu&amp;diff=43989&amp;oldid=prev</id>
		<title>Onnowpurbo: New page: Edit apt source list to add the PPA:   sudo nano /etc/apt/sources.list  Add the following items at the end of the file:   # Zabbix Application PPA  deb http://ppa.launchpad.net/tbfr/zabbix...</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Zabbix:_Instalasi_di_Ubuntu&amp;diff=43989&amp;oldid=prev"/>
		<updated>2015-07-23T09:52:40Z</updated>

		<summary type="html">&lt;p&gt;New page: Edit apt source list to add the PPA:   sudo nano /etc/apt/sources.list  Add the following items at the end of the file:   # Zabbix Application PPA  deb http://ppa.launchpad.net/tbfr/zabbix...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Edit apt source list to add the PPA:&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
Add the following items at the end of the file:&lt;br /&gt;
&lt;br /&gt;
 # Zabbix Application PPA&lt;br /&gt;
 deb http://ppa.launchpad.net/tbfr/zabbix/ubuntu precise main&lt;br /&gt;
 deb-src http://ppa.launchpad.net/tbfr/zabbix/ubuntu precise main&lt;br /&gt;
&lt;br /&gt;
Add the PPA&amp;#039;s key so that apt-get trusts the source:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C407E17D5F76A32B&lt;br /&gt;
&lt;br /&gt;
Set the server it&amp;#039;s hostname&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;zabbix.mydomain.com&amp;quot; &amp;gt; /etc/hostname&lt;br /&gt;
 hostname -F /etc/hostname&lt;br /&gt;
&lt;br /&gt;
Update /etc/hosts&lt;br /&gt;
&lt;br /&gt;
 127.0.0.1 localhost.localdomain localhost&lt;br /&gt;
 52.28.99.149 zabbix.mydomain.com zabbix&lt;br /&gt;
&lt;br /&gt;
Update and install Zabbix server and required packages.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install zabbix-server-mysql php5-mysql zabbix-frontend-php&lt;br /&gt;
&lt;br /&gt;
Memorize the root password you have chosen, you&amp;#039;ll need it later. Next edit the Zabbix configuration.&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/zabbix/zabbix_server.conf&lt;br /&gt;
&lt;br /&gt;
Adjust the following values and make a note of the password you&amp;#039;ve chosen. You&amp;#039;ll need it later too.&lt;br /&gt;
&lt;br /&gt;
 DBName=zabbix&lt;br /&gt;
 DBUser=zabbix&lt;br /&gt;
 DBPassword=your_chosen_password_here&lt;br /&gt;
&lt;br /&gt;
Also memorize the chosen password because you will need it when setting the rights in the MySQL commands.&lt;br /&gt;
&lt;br /&gt;
Unzip the mysql data for importing them into the database you&amp;#039;ll create in the next step.&lt;br /&gt;
&lt;br /&gt;
 cd /usr/share/zabbix-server-mysql/&lt;br /&gt;
 sudo gunzip *.gz&lt;br /&gt;
&lt;br /&gt;
Login to MySql using the root password.&lt;br /&gt;
&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Create a user for Zabbix (and a database) that matches the information we entered in the &amp;quot;/etc/zabbix/zabbix_server.conf&amp;quot; file.&lt;br /&gt;
&lt;br /&gt;
 create user &amp;#039;zabbix&amp;#039;@&amp;#039;localhost&amp;#039; identified by &amp;#039;your_chosen_password_here&amp;#039;;&lt;br /&gt;
 create database zabbix;&lt;br /&gt;
 grant all privileges on zabbix.* to &amp;#039;zabbix&amp;#039;@&amp;#039;localhost&amp;#039;; flush privileges;&lt;br /&gt;
 exit;&lt;br /&gt;
&lt;br /&gt;
Next we&amp;#039;ll import the schemas into the newly created database.&lt;br /&gt;
&lt;br /&gt;
 mysql -u zabbix -p zabbix &amp;lt; schema.sql&lt;br /&gt;
 mysql -u zabbix -p zabbix &amp;lt; images.sql&lt;br /&gt;
 mysql -u zabbix -p zabbix &amp;lt; data.sql&lt;br /&gt;
&lt;br /&gt;
Edit a few PHP settings by modifying the php.ini file.&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/php5/apache2/php.ini&lt;br /&gt;
&lt;br /&gt;
Search and adjust the following data. (Or add them if they can&amp;#039;t be found.)&lt;br /&gt;
&lt;br /&gt;
 post_max_size = 16M&lt;br /&gt;
 max_execution_time = 300&lt;br /&gt;
 max_input_time = 300&lt;br /&gt;
 date.timezone = &amp;quot;Europe/Amsterdam&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Next copy the example config to the /etc/zabbix directory. Then make the necessary adjustments too.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /usr/share/doc/zabbix-frontend-php/examples/zabbix.conf.php.example /etc/zabbix/zabbix.conf.php&lt;br /&gt;
 sudo nano /etc/zabbix/zabbix.conf.php&lt;br /&gt;
&lt;br /&gt;
 $DB[&amp;#039;DATABASE&amp;#039;] = &amp;#039;zabbix&amp;#039;;&lt;br /&gt;
 $DB[&amp;#039;USER&amp;#039;] = &amp;#039;zabbix&amp;#039;;&lt;br /&gt;
 $DB[&amp;#039;PASSWORD&amp;#039;] = &amp;#039;your_chosen_password_here&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Then copy the example apache config to the /etc/apache2/conf-available/ directory to make Zabbix and Apache work together.&lt;br /&gt;
&lt;br /&gt;
 sudo cp /usr/share/doc/zabbix-frontend-php/examples/apache.conf /etc/apache2/conf-available/zabbix.conf&lt;br /&gt;
 sudo a2enconf zabbix.conf&lt;br /&gt;
 sudo a2enmod alias&lt;br /&gt;
 sudo service apache2 restart&lt;br /&gt;
 sudo nano /etc/default/zabbix-server&lt;br /&gt;
&lt;br /&gt;
Go to the bottom and adjust the &amp;quot;START&amp;quot; property to read &amp;quot;yes&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 START=yes&lt;br /&gt;
&lt;br /&gt;
And start the Zabbix server.&lt;br /&gt;
&lt;br /&gt;
 sudo service zabbix-server start&lt;br /&gt;
&lt;br /&gt;
If you would like to have zabbix running on the root of the domain instead of /zabbix execute the following;&lt;br /&gt;
&lt;br /&gt;
 sudo nano /etc/apache2/sites-available/000-default.conf&lt;br /&gt;
&lt;br /&gt;
And set the &amp;quot;DocumentRoot&amp;quot; like this;&lt;br /&gt;
&lt;br /&gt;
 DocumentRoot /usr/share/zabbix&lt;br /&gt;
&lt;br /&gt;
Then restart Apache.&lt;br /&gt;
Installing Zabbix agent(s) on server machines.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get install zabbix-agent&lt;br /&gt;
 sudo nano /etc/zabbix/zabbix_agentd.conf&lt;br /&gt;
&lt;br /&gt;
Look for: Server=localhost (or Server=127.0.0.1) and change &amp;#039;localhost&amp;#039; with the IP address of your Zabbix install.&lt;br /&gt;
&lt;br /&gt;
Save and close the file and restart the agent software:&lt;br /&gt;
&lt;br /&gt;
 sudo service zabbix-agent restart&lt;br /&gt;
&lt;br /&gt;
In your web browser, navigate to your Zabbix server&amp;#039;s IP address followed by &amp;quot;/zabbix&amp;quot;: http://xx.xx.xx.xx/zabbix&lt;br /&gt;
&lt;br /&gt;
Use the following default credentials to login.&lt;br /&gt;
&lt;br /&gt;
 Username = admin&lt;br /&gt;
 Password = zabbix&lt;br /&gt;
&lt;br /&gt;
When you have logged in, click on the &amp;quot;Configuration&amp;quot; button, and then &amp;quot;Hosts&amp;quot; in the top navigation bar.&lt;br /&gt;
&lt;br /&gt;
Click on the name of the server (by default, this should be &amp;quot;Zabbix server&amp;quot;). This will open the host configuration page. Adjust the Hostname to reflect the hostname of your Zabbix server (this should be the same hostname you entered in the agent configuration for the server machine). At the bottom, change the &amp;quot;Status&amp;quot; property to &amp;quot;Monitored&amp;quot;. Click save.&lt;br /&gt;
&lt;br /&gt;
You will be dopped back to the Hosts configuration page. Re-click on the hostname again. This time, click on the &amp;quot;Clone&amp;quot; button at the bottom of the page. We will configure this to reflect the settings of the client machine. Change the hostname and the IP address to reflect the correct information from the client agent file.&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;groups&amp;quot; section, select &amp;quot;Zabbix servers&amp;quot; and click the right arrow icon to remove that group. Select the &amp;quot;Linux servers&amp;quot; and click the left arrow icon to add that group setting.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;Save&amp;quot; at the bottom. After a few minutes, you should be able to see both computers by going to &amp;quot;Monitoring&amp;quot; and then clicking on &amp;quot;Latest data&amp;quot;&lt;br /&gt;
 There should be information for both the server and client machines populating.&lt;br /&gt;
&lt;br /&gt;
If you click on the arrows next to an item, you can see the collected information. If you click &amp;quot;Graph&amp;quot; you will see a graphical representation of the data points that have been collected:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* http://www.ubuntugeek.com/how-to-install-zabbix-monitoring-tool-on-ubuntu-14-04-server.html&lt;br /&gt;
* https://thedutchlab.com/en/news/installing-zabbix-on-ubuntu-14-04&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>