我有一个受监控的主机,其中有一个活动项目,用于检查端口 2401 上的 cvs pserver。每分钟“上次检查”日期都会更新,“上次值”保持为“关闭 (0)”,但实际上服务器不会尝试与远程端口建立 tcp 连接。我可以通过运行来判断tcpdump "host $pserverhost"
。
问题是它过去是可以工作的。我不知道发生了什么。icmpping
简单检查在该主机上仍然有效。
操作系统:RHEL 6.8,epel 的 zabbix-server-mysql 1.8.22-1.el6。
以下是我全新安装后配置检查的方法:
Configuration / Templates / Template_Standalone / items / Create item
cvs (pserver)
simple check
tcp,2401
numeric unsigned
decimal
interval: 60
store val: as is
Configuration / Templates / Template_Standalone: triggers / Create trigger
CVS pserver on {HOSTNAME}
{Template_Standalone:tcp,2401.last(0)}#1
severity: average
Configuration / Hosts / Create Host
linked templates: Template_Standalone
ip: the ip
dns: the dns name
Configuration / Hosts / Items
disable all except CVS and ping
Configuration / Actions / Create Action
test action
event source: triggers
Action operations / New
Send message
to: single user: Admin
Administration / Media types / Create Media Type
Description: Email from zabbix
type: email
server: webmail.acme.com
helo: acme.com
email: [email protected]
Administration / Users / Admin / Media / Add
type: Email from zabbix
Send to: [email protected]