frtd 发表于 2013-10-10 08:51:05

Zabbix 监控之项目类型-Trapper

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


3.客户端发送数据


# /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查看是否收到数据



xuke123 发表于 2013-10-11 21:39:17

不要在一棵树上吊死,在附近几棵树上多试试死几次~

jydg 发表于 2013-10-14 14:36:47

与时俱进,你我共赴高潮!

q456123 发表于 2013-10-18 02:53:51

与时俱进,你我共赴高潮!

cqlinx 发表于 2013-10-23 03:07:32

帮帮顶顶!!

浪人 发表于 2013-10-28 13:13:34

此地禁止大小便,违者没收工具。

191145685 发表于 2013-11-3 02:51:31

路过,学习下
页: [1]
查看完整版本: Zabbix 监控之项目类型-Trapper