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查看是否收到数据
不要在一棵树上吊死,在附近几棵树上多试试死几次~ 与时俱进,你我共赴高潮! 与时俱进,你我共赴高潮! 帮帮顶顶!! 此地禁止大小便,违者没收工具。 路过,学习下
页:
[1]