Linux under Zabbix monitoring simple configuration

Source: Internet
Author: User
Tags fpm

First, the introduction of environmental construction

Hostname IP Zabbix version System version
Service side Webserver
zabbix2.2 CentOS 6.6
Client Hpf-linux zabbix2.2 CentOS 6.6

Second, the common configuration of Zabbix

1. Change the display language of Zabbix under the browser

650) this.width=650; "title=" 10.png "src=" "alt=" Wkiol1wjxcuzxjg9aan1i2nilxg127.jpg "/>

Since the default browser under Zabbix is in English, we can change Zabbix to Chinese: Click on the profile--> in the upper right corner to select Chinese in the Language bar--click Save to save;

To view Zabbix monitored hosts:

650) this.width=650; "title=" 11.png "src=" "alt=" Wkiol1wjxpfq-0seaaqfnyzihty239.jpg "/>

2, increased monitoring of the host:

By looking at the monitored host we find that the newly-built Zabbix monitors only one machine (service-side machine), and below describes how to add a monitoring machine;

Do the following on the client:

[email protected] ~]# yum install-y zabbix22-agent

[[email protected] ~]# vi/etc/zabbix_agentd.conf//change server IP to service-side IP


The following are configuration options and descriptions for common changes to the zabbix_agentd.conf configuration file

Logfile=/var/log/zabbix/zabbix_agentd.log where the log files are stored

server= IP for Zabbix server

hostname= IP of the monitored machine

[[email protected]~]#/etc/init.d/zabbix-agent Start
Starting Zabbix agent: [OK]
[[email protected]~]# NETSTAT-LNP |grep Zabbix
TCP 0 0* LISTEN 1372/zabbix_agentd
TCP 0 0::: 10050:::* LISTEN 1372/zabbix_agentd
[[email protected]~]# Pstree

Do the following on the browser:

Click the configuration select the Host column, on the right to select the creation of the host, then the following screen will appear

650) this.width=650; "title=" 12.png "src=" "alt=" Wkiom1wjxwfsq6c6aanqz8v0o-y245.jpg "/> steps through the creation of a monitored host will be in the configured host that column shows us to create the host, because the host has just created a service that has not been added monitoring, So we can manually add the monitoring services;

650) this.width=650; "title=" 13.png "style=" Float:none; "src=" Wkiol1wjx2eba8abaaq6thgnoq4667.jpg "alt=" Wkiol1wjx2eba8abaaq6thgnoq4667.jpg "/>

Then will enter the Zabbix server project, because there are 63 can choose according to their own needs;

650) this.width=650; "title=" 14.png "style=" Float:none; "src=" Wkiom1wjxa7jpnfvaadvzvzptgm946.jpg "alt=" Wkiom1wjxa7jpnfvaadvzvzptgm946.jpg "/>

650) this.width=650; "title=" 15.png "style=" Float:none; "src=" Wkiom1wjxa-sfglgaace4hbxs48287.jpg "alt=" Wkiom1wjxa-sfglgaace4hbxs48287.jpg "/>

The following select the host to copy to;

650) this.width=650; "title=" 16.png "src=" "alt=" Wkiol1wjx56tivv1aaof-kfwt2y728.jpg "/>

We have created the monitoring host and added the services on the host, here are the monitoring options that we have just added:

650) this.width=650; "title=" 17.png "src=" "alt=" Wkiom1wjxogqpevkaaqratroa3g036.jpg "/>

We can see that the monitoring service has been added successfully, but we can also customize the monitoring service by ourselves.

3, increase traffic monitoring services:

Click on the Host option to enter the configuration and select the Hpf-linux project;

650) this.width=650; "title=" 18.png "style=" Float:none; "src=" Wkiol1wjygfrchgfaaqfbbvdm4w714.jpg "alt=" Wkiol1wjygfrchgfaaqfbbvdm4w714.jpg "/>

Click on the right to create the monitoring item after entering the project option of Hpf-linux Monitor machine;

650) this.width=650; "title=" 19.png "style=" Float:none; "src=" B57w1aas0cwaiuvm966.jpg "alt=" Wkiom1wjxq_b57w1aas0cwaiuvm966.jpg "/>

Select the relevant configuration of network card traffic monitoring;

650) this.width=650; "title=" 22.png "src=" "alt=" Wkiol1wjynarkldjaalrjehmkkc984.jpg "/>

In the same vein, create network card into traffic monitoring;

650) this.width=650; "title=" 20.png "style=" Float:none; "src=" Rponpaamlbjloibe563.jpg "alt=" Wkiom1wjxq_rponpaamlbjloibe563.jpg "/>

650) this.width=650; "title=" 21.png "style=" Float:none; "src=" Wkiol1wjygiskl8baaw5dc4jrqe545.jpg "alt=" Wkiol1wjygiskl8baaw5dc4jrqe545.jpg "/>

From we can confirm the network card monitoring project to create, and then to view the network card monitoring generated graphics;

Click on the Monitor to select the latest data bar, click on the graph with the name of the network card into the traffic option:

650) this.width=650; "title=" 23.png "src=" "alt=" Wkiol1wjyumgnuvuaawlc6qk_y4958.jpg "/>

Through we can get the network card monitoring trend map, because it is a virtual machine so less traffic, but the most important is the Red Arrow logo of some Chinese characters for garbled, the following talk about how to correct garbled;

4, change the control item garbled:

Enter under Windows: C:\Windows\Fonts Select a font file to transfer it to Linux;

[[email protected] ~]# ls//stkaiti. TTF as font file
Anaconda-ks.cfg GRANT install.log install.log.syslog Stkaiti. TTF

[email protected] ~]# MV Stkaiti. TTF/USR/SHARE/FONTS/DEJAVU/DEJAVUSANS.TTF//Overwrite the file and refresh the browser just fine
MV: Do you want to overwrite "/usr/share/fonts/dejavu/dejavusans.ttf"? Y

650) this.width=650; "title=" 24.png "src=" "alt=" Wkiom1wjx92rc4wpaaytytydh8i688.jpg "/>

This article is from the "Bread" blog, make sure to keep this source

Linux under Zabbix monitoring simple configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.