b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

zabbix下载_zabbix监控nginx_zabbix中action的创建

电脑杂谈  发布时间:2017-02-17 23:23:05  来源:网络整理

zabbix下载_zabbix监控nginx_zabbix中action的创建

zabbix下载

Zabbix常用的监控协议有:

snmp通过oid收集数据

zabbixagent:通过zabbix客户端收集数据

JMX:通过JavaGateway收集数据

有关简单检查类型例子如下:

简单检查一般用于被监控的主机上没安装代理,再监测主机状态以及端口状态时非常有用。

支持简单检查的监控有:

Key 名称

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。检查主机的存活状态

icmpping[<target>,<packets>,<interval>,<size>,<timeout>] #检查主机是否可以ping通

返回值为0表示ping失败,返回值为1表示可以ping通

target:主机名或ip地址

packets:数据包的数量

interval:两个连续数据包发送的时间间隔,以毫秒为单位

size:包的大小,以字节为单位

timeout:超时时间,以毫秒为单位

2.检查服务的端口

net.tcp.service[service,<ip>,<port>] #检查服务是否运行

0表示服务是down,1表示服务运行

举例:

net.tcp.service[ftp,,45]

net.tcp.service[tcp,,3306]

3.检查服务的性能

net.tcp.service.perf[service,<ip>,<port>]


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-33019-1.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 晋安帝
      晋安帝

    • 高祖石敬瑭
      高祖石敬瑭

      确实是非常符合心目中小王子的声音

    • 原帅
      原帅

      那你们下场一定会很悲惨

    热点图片
    拼命载入中...