Collecting monitoring information using Zabbix_sender

Source: Internet
Author: User


Use of 1.zabbix_sender

The Zabbix_sender program is primarily used for those execution time long custom script intervals to send state or performance data to Zabbix server.

$ /usr/local/zabbix/bin/zabbix_sender --helpzabbix sender v2.2.3  (revision 44105 )   (7 april 2014) Usage: zabbix_sender [-vhv] {[-zpsi] -ko | [-zpi]  -t -i <file> -r} [-c <file>]options:  -c --config  <file>                    absolute path to the configuration file  -z -- Zabbix-server <server>          hostname or  IP address of Zabbix server  -p --port <server port>               Specify port  number of server trapper running on the server. default is  10051  -s --host 


$/usr/local/zabbix/bin/zabbix_sender-s "xxxxx"-Z xxxx-k mongodb.status[version]-o 2.4.6info from server: "Process Ed:1; failed:0; Total:1; Seconds spent:0.000054 "SENT:1; skipped:0; Total:1

-s Specifies the host name that Zabbix_sender sends

The key specified by-K is specified by the configuration file



2.Trapper Items

Trapper items receives the source data instead of querying it. Used to push the required data to the Zabbix

650) this.width=650; "Src=" https://www.zabbix.com/documentation/2.2/_media/manual/config/items/itemtypes/1.9.7_ Trapper_item.png "alt=" 1.9.7_trapper_item.png "/>



650) this.width=650; "Src=" https://www.zabbix.com/documentation/2.2/_media/manual/config/items/itemtypes/1.9.7_ Trapped_data.png "alt=" 1.9.7_trapped_data.png "/>








Reference Documentation:

Https://www.zabbix.com/documentation/2.2/manual/concepts/sender

Https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/trapper



This article is from the Linux SA John blog, so be sure to keep this source http://john88wang.blog.51cto.com/2165294/1639412

Collecting monitoring information using Zabbix_sender

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.