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 192.168.1.20
zabbix2.2 CentOS 6.6
Client Hpf-linux 192.168.1.110 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=" http://s3.51cto.com/wyfs02/M00/6E/D4/wKioL1WJXCuzXJg9AAN1i2NilXg127.jpg "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=" http://s3.51cto.com/wyfs02/M00/6E/D4/wKioL1WJXPfQ-0SeAAQfnyzIHTY239.jpg "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

server=192.168.1.20

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=192.168.1.20 IP for Zabbix server

hostname=192.168.1.110 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 0.0.0.0:10050 0.0.0.0:* LISTEN 1372/zabbix_agentd
TCP 0 0::: 10050:::* LISTEN 1372/zabbix_agentd
[[email protected]~]# Pstree
INIT─┬─AUDITD───{AUDITD}
├─crond
├─dbus-daemon
├─master─┬─pickup
│└─qmgr
├─6*[mingetty]
├─MYSQLD_SAFE───MYSQLD───8*[{MYSQLD}]
├─nginx───nginx
├─PHP-FPM───2*[PHP-FPM]
├─rpc.statd
├─rpcbind
├─RSYSLOGD───3*[{RSYSLOGD}]
├─sshd───sshd───bash───pstree
├─udevd───udevd
└─ZABBIX_AGENTD───5*[ZABBIX_AGENTD]

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=" http://s3.51cto.com/wyfs02/M02/6E/D8/wKiom1WJXWfSq6C6AANQz8V0O-Y245.jpg "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=" http://s3.51cto.com/wyfs02/M01/6E/D4/ 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=" http://s3.51cto.com/wyfs02/M01/6E/D8/ Wkiom1wjxa7jpnfvaadvzvzptgm946.jpg "alt=" Wkiom1wjxa7jpnfvaadvzvzptgm946.jpg "/>

650) this.width=650; "title=" 15.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/6E/D8/ Wkiom1wjxa-sfglgaace4hbxs48287.jpg "alt=" Wkiom1wjxa-sfglgaace4hbxs48287.jpg "/>


The following select the host to copy to;


650) this.width=650; "title=" 16.png "src=" http://s3.51cto.com/wyfs02/M00/6E/D4/wKioL1WJX56TiVv1AAOf-KfWt2Y728.jpg "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=" http://s3.51cto.com/wyfs02/M01/6E/D8/wKiom1WJXoGQpEvKAAQRAtroa3g036.jpg "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=" http://s3.51cto.com/wyfs02/M02/6E/D4/ 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=" http://s3.51cto.com/wyfs02/M02/6E/D8/wKiom1WJXq_ B57w1aas0cwaiuvm966.jpg "alt=" Wkiom1wjxq_b57w1aas0cwaiuvm966.jpg "/>


Select the relevant configuration of network card traffic monitoring;


650) this.width=650; "title=" 22.png "src=" http://s3.51cto.com/wyfs02/M00/6E/D4/wKioL1WJYNaRKLDjAALRJEHmKKc984.jpg "alt=" Wkiol1wjynarkldjaalrjehmkkc984.jpg "/>

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


650) this.width=650; "title=" 20.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/6E/D8/wKiom1WJXq_ Rponpaamlbjloibe563.jpg "alt=" Wkiom1wjxq_rponpaamlbjloibe563.jpg "/>



650) this.width=650; "title=" 21.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/6E/D4/ 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=" http://s3.51cto.com/wyfs02/M02/6E/D4/wKioL1WJYUmgNUvuAAWLc6Qk_Y4958.jpg "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=" http://s3.51cto.com/wyfs02/M02/6E/D8/wKiom1WJX92Rc4WpAAYtyTyDh8I688.jpg "alt=" Wkiom1wjx92rc4wpaaytytydh8i688.jpg "/>




This article is from the "Bread" blog, make sure to keep this source http://9950284.blog.51cto.com/9940284/1664770

Linux under Zabbix monitoring simple configuration

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: info-contact@alibabacloud.com 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.