| 1234567891011121314151617181920212223242526272829 |
- {
- "description":{
- "interval":"间隔发送报警时间,单位s/秒",
- "ip":"设备端ip地址",
- "times":"发送的snmp Alarm是否包含时间,1为需要/0为不需要",
- "send_bind_ip":"发送trap程序需要绑定的地址",
- "dst_ip":"trap目的地址",
- "receive_bind_ip":"接收绑定地址",
- "port_index":"里面的数字表示着moxa硬件上网络插头上的数字标号,例如port_index:4,5表示忽略4,5这两个端口标号出现的Link Down Trap或者Link up Trap信息.",
- "module-identity":"对应着mib文件里的MODULE-IDENTITY,例如enterprises.8691.7.7,enterprises.8691.7.70,7和70就是module-identity的值",
- "system":"暂时区分h3c系统和moxa系统,在receive_bind_ip里设置端口需要留意h3c的端口号为1622,moxa为162。h3c系统只需要关注receive_bind_ip和system即可。"
- },
- "white_list":[
- {
- "ip":"192.168.12.253",
- "port_index":"{3,0}"
- }
- ],
- "dst_ip":[
- "192.168.31.10:162",
- "192.168.31.9:163"
- ],
- "system":"moxa",
- "times":1,
- "interval":2,
- "receive_bind_ip":"udp:192.168.31.181:162",
- "send_bind_ip":"192.168.31.181",
- "module-identity":"7,98,70,100,106,117,95"
- }
|