点击返回:自学Zabbix之路html
点击返回:自学Zabbix4.0之路shell
14 Zabbix Item类型之Simple checks类型tcp
Simple checks一般用来检查远程未安装代理或者客户端的服务。post
使用simple checks,被监控客户端无需安装zabbix agent客户端,zabbix server直接使用simple checks来收据数据,一基本上都是用来检测远程服务器某端口是否在监听。ui
以下:
simple checks: net.tcp.service[ftp,,155] net.tcp.service[http] net.tcp.service.perf[http,,8080] url
使用基本检测去监控vmware服务器,须要填写User和Password字段,其余服务器能够忽略。 spa
超时处理:代理
若是基本检测时间超过了zabbix配置文件设置的超市时间,zabbix将不会作处理. server
ICMP ping. fping不包含在zabbix的发行版本中,你须要额外去下载安装,若是你配置了epel源,以下命令安装:
yum install fping
而后修改zabbix_server.conf,指定fping路径,配置参数为FpingLocation,通常为:
FpingLocation = /usr/bin/fping
若是没有安装fping或者fping路径指定出错,cmpping, icmppingloss,icmppingsec都不会处理,执行fping命令的zabbix用户要设置setuid,毕竟fping命令是须要root权限的。
以下设置:
shell> chown root:zabbix /usr/sbin/fping shell> chmod 4710 /usr/sbin/fping
ICMP检测默认参数:
......