Simple check of Zabbix monitoring

Source: Internet
Author: User

Common monitoring protocols for Zabbix include:

Snmp collects data through oid

Zabbixagent: collect data through the zabbix Client

JMX: collect data through JavaGateway

Examples of simple check types are as follows:

650) this. width = 650; "style =" width: 756px; height: 194px; "title =" 2013-09-29_152129.jpg "src =" http://www.bkjia.com/uploads/allimg/131228/04340K954-0.jpg "width =" 754 "height =" 489 "alt =" 152550957.jpg"/>

A simple check is usually useful when the agent is not installed on the monitored host and then the host status and port status are monitored.

Monitoring that supports simple checks includes:

Key name icmppingloss [<ip>, <count>, <interval>, <size>, <timeout>] Returns percentage of lost ICMP ping packets. icmppingsec [<ip >,< count >,< interval >,< size >,< timeout >,< type>] Returns ICMP ping response time in seconds. example: 0.02 icmpping [<ip>, <count>, <interval>, <size>, <timeout>] Checks if server is accessible by ICMP ping. 0-ICMP ping fails. 1-ICMP ping successful. one of zabbix_server processes performs ICMP pings once per PingerFrequency seconds.net. tcp. service. perf [service, <ip >,< port>] Check performance of service. 0-service is down, sec-number of seconds spent on connection to the service. if <ip> is missing, IP or DNS name is taken from host definition. if <port> is missing, default service port is used.net. tcp. service [service, <ip >,< port>] Check

1. Check the active status of the host

Icmpping [<target>, <packets>, <interval>, <size>, <timeout>] # Check whether the host can be pinged

If the return value is 0, the ping fails. If the return value is 1, the ping is successful.

Target: Host Name or IP address

Packets: number of data packets

Interval: interval between two consecutive data packets, in milliseconds

Size: the package size, in bytes.

Timeout: timeout time, in milliseconds

2. Check the service port

Net. tcp. service [service, <ip>, <port>] # Check whether the service is running

0 indicates that the service is down, and 1 indicates that the service is running.

Example:

net.tcp.service[ftp,,45]

net.tcp.service[tcp,,3306]

3. Check service performance

Net. tcp. service. perf [service, <ip>, <port>] # If the returned value is 0, the service is closed or the time spent connecting to the service is returned. Example: net. tcp. service. perf [ssh]

This article is from the "Lang taosha" blog, please be sure to keep this source http://caisangzi.blog.51cto.com/6387416/1303553

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.