您的位置:首页 > 移动开发

Zabbix 监控之项目类型-Trapper

2013-10-10 00:12 281 查看
zabbix监控的项目类型中有一种是zabbixtrapper类型,可以称为zabbix捕捉器。
特点:
1.把数据推送给zabbix服务器
2.在zabbix服务器上必须有一个捕捉项目,然后在客户端把数据发送给zabbix服务器
配置:




3.客户端发送数据

[root@zhu2 ~]# /opt/zabbix/bin/zabbix_sender -z 192.168.70.133 -p 10051 -s "zhuzhu" -k zhujiangtao -o "qian shan niao fei jue"
info from server: "Processed 1 Failed 0 Total 1 Seconds spent 0.000474"
sent: 1; skipped: 0; total: 1
#参数介绍
-z - to specify Zabbix server IP address
-p - to specify Zabbix server port number (10051 by default)
-s - to specify the host (make sure to use the 'technical' host name here, instead of the 'visible' name)
-k - to specify the key of the item we just defined
-o - to specify the actual value to send
4.zabbixserver查看是否收到数据



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息