014_IP专项研究监控
一、数据demo
cat /proc/net/snmp Ip: Forwarding DefaultTTL InReceives InHdrErrors InAddrErrors ForwDatagrams InUnknownProtos InDiscards InDelivers OutRequests OutDiscards OutNoRoutes ReasmTimeout ReasmReqds ReasmOKs ReasmFails FragOKs FragFails FragCreates Ip: 2 64 1779314754 0 0 0 0 0 1779314628 1822652344 413569 0 0 0 0 0 0 0 0 Icmp: InMsgs InErrors InCsumErrors InDestUnreachs InTimeExcds InParmProbs InSrcQuenchs InRedirects InEchos InEchoReps InTimestamps InTimestampReps InAddrMasks InAddrMaskReps OutMsgs OutErrors OutDestUnreachs OutTimeExcds OutParmProbs OutSrcQuenchs OutRedirects OutEchos OutEchoReps OutTimestamps OutTimestampReps OutAddrMasks OutAddrMaskReps Icmp: 29977209 250408 0 29977141 46 0 0 0 5 17 0 0 0 0 29245252 0 29245230 0 0 0 0 17 5 0 0 0 0 IcmpMsg: InType0 InType3 InType8 InType11 OutType0 OutType3 OutType8 IcmpMsg: 17 29977141 5 46 5 29245230 17 Tcp: RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs OutRsts InCsumErrors Tcp: 1 200 120000 -1 135592109 170218854 41663940 89473023 255 1643102867 1726648163 9245263 404 77297705 0 Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors Udp: 76989386 29245230 0 133678581 0 0 0 UdpLite: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors UdpLite: 0 0 0 0 0 0 0
二、
(1) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Out Requests: IP层向外发送数据包请求的总数, out_requests/10 -> op/s; (2) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); In Receives: IP层处理的数据包总数, in_receives/10 -> op/s; (3) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Out No Routes: IP层发送数据时没有找到路由的数据包总数,out_no_routes/10 -> op/s; (4) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); In No Routes: IP层接收数据没有找到路由的数据包总数,in_no_routes/10 -> op/s; (5) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Out Discards: IP层向外发送数据时由于一些错误而丢弃的数据包总数, out_discards/10 -> op/s; (6) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); In Discards: IP层接收数据时由于一些错误而丢弃的数据包总数, in_discards/10 -> op/s; (7) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); In Unknown Protos: IP头中的协议未知的数据包总数,in_unknown_protos/10 -> op/s; (8) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); In Delivers: IP层向上层传输层递交的数据包总数, in_delivers/10 -> op/s; (9) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); In Address Errors: IP地址没有找到路由而丢弃的包总数,in_addr_errors/10 -> op/s; (10) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); In Checksum Errors: IP层接收数据包校验失败的总数,in_csum_erros/10 -> op/s; (11) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Fragments creates: IP分片发送总数,frag_creates/10 -> op/s; (12) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Fragments oks: IP分片成功总数,frag_oks/10 -> op/s; (13) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Fragments fails: IP分片失败总数,frag_fails/10 -> op/s; (14) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Re-assembly oks: IP碎片重组成功次数, reasm_oks/10 -> op/s; (15) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Re-assembly reqds: IP碎片重组包数, reasm_reqds/10 -> op/s; (16) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Re-assembly fails: IP碎片重组失败次数, reasm_fails/10 -> op/s; (17) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Re-assembly timeout: IP碎片队列超时次数, reasm_timeouts/10 -> op/s; (18) 数据源: /proc/net/snmp; 采集方式: 直接使用当前值; 指标: net.snmp.ip(key: system); Forwarding: 标记位,是否开启了ip_forward,1为开启,2位关闭 (19) 数据源: /proc/net/snmp; 采集方式: 累计值,每10秒采集一次取差值; 指标: net.snmp.ip(key: system); Forward datagrams: IP转发的数据包总数,forw_datagrams/10 -> op/s;