[Practical exercise] Linux operating system 09-zabbix3.4 monitoring system

On a platform has been installed zabbix3.4 up, the object being monitored, you also need to install the operating system in order to incorporate the monitoring agent.


1, Linux systems installed agent

wget http://mirrors.aliyun.com/zabbix/zabbix/3.4/rhel/6/x86_64/zabbix-agent-3.4.7-1.el6.x86_64.rpm
rpm -ivh zabbix-agent-3.4.7-1.el6.x86_64.rpm
vi /etc/zabbix/zabbix_agentd.conf
LogFile = / etc / zabbix / zabbix_agentd.log # Set the log file storage location 
Server = 10.1.30.13 # Set zabbix server's IP address 
Hostname = jspgou # modify the host name 
ServerActive = 10.1.30.13 # Set zabbix server's IP address

Start zabbix agent

service zabbix-agent start


2, Windows system installation agent

Unpack the archive to c: \ zabbix \ directory, edit conf folder found zabbix_agentd.win

Open the Edit conf file nodpad ++, modify the following content

LogFile = c: \ zabbix_agentd.log # log file storage location 
Server = 10.1.30.13 # Set zabbix server's IP address 
Hostname = Windows host # name of this machine, you can also use the hostname command in cmd get 
ServerActive = 10.1.30.13 # Set zabbix server's IP address

Run as Administrator cmd, enter the following command to start zabbix

cd c: \ zabbix \ bin \ win64 # Change directory into the 
zabbix_agentd.exe -c c: \ zabbix \ conf \ zabbix_agentd.win.conf -i # installation 
zabbix_agentd.exe -cc: \ conf \ zabbix_agentd.win.conf -s # start Agent 
netstat -an | the Find "10050" # zabbix-agent to check whether the normal start


3. Add Host

010.png

011.png

012.png

zabbix has a lot of pre-monitoring templates, you can also search the Internet a variety of templates to add extensions, according to the actual needs of the target object monitoring check.

013.png

After selecting the policy, you must click on the small print below "add", then strategy shown above Linkd templates after the entry into force, then the blue "Add" button.

014.png

When the state of the host is enabled and ZBX green, that is monitoring a success.

015.png

4, view the surveillance indicators

Select Monitoring-> Graphs, then you can select a device group, device objects, and monitoring indicators to monitor you want to view.

016.png

Guess you like

Origin blog.51cto.com/14423403/2416355