(13) Zabbix_linux add a defined item monitor item

Source: Internet
Author: User
Tags custom name pkill

(13) zabbix_linux add a defined item monitor item

Background:

1 , zabbix3.4.4 Server Setup completed

Ideas:

1 , monitored to allow custom monitoring items and create custom monitoring items

2 , test whether the data is displayed properly by Zabbix server side with zabbix_get command

3 , creating monitoring items and triggers from the web side

4 , this content is for reference only, in order to learn to use later.

one, the monitored side configuration file

1 , set in profile zabbix_agentd.conf to allow adding custom monitoring items, remove the previous #, and then write the correct path,

2 , restart the client service

Note: Use pkill-9 First, then perform the start service

[Email protected] etc]# pkill-9 ZABBIX_AGENTD

[Email protected] etc]#

/usr/local/zabbix-3.4.3/sbin/zabbix_agentd-c/usr/local/zabbix-3.4.3/etc/zabbix_agentd.conf

3 , creating custom monitoring items

Create a. conf file in a custom monitoring item directory, this test creates a few users who now log on to the system,

Go to Catalog

[Email protected] zabbix_agentd.conf.d]# pwd

/usr/local/zabbix-3.4.3/etc/zabbix_agentd.conf.d

#vi login.conf

USERPARAMETER=LOGIN-USER,WHO|WC – L

Note: Login-user is a name, followed by a command, the command can be tested on its own before the equal sign is fixed

Second,Zabbixserver-side testing

1 , test with Zabbix_get

Note: If the test encounters a problem, refer to the Zabbix_get test error handling document

The test was successful.

Third,Web-side creation of monitoring items

1 , Select Host, click Monitoring items, create monitoring items

Name, write the key value, the same as the custom name:

Click Update to be able to.

2 , creating triggers

This omission step, direct, this trigger write 3 times, can be customized.

7 , create a graphic

This time omitted, direct, the monitoring item own choice to be possible.

8 , view effects

Find the monitoring item that you just created under which host, click Graphics

Monitor success.

Summary: Note the modification of the client configuration file and the restart of the service.


(13) Zabbix_linux add a defined item monitor item

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.