015_ICMP专项研究监控
Posted itcomputer
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了015_ICMP专项研究监控相关的知识,希望对你有一定的参考价值。
一、数据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 1779441357 0 0 0 0 0 1779441231 1822780945 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: 29979326 250408 0 29979258 46 0 0 0 5 17 0 0 0 0 29247368 0 29247346 0 0 0 0 17 5 0 0 0 0 IcmpMsg: InType0 InType3 InType8 InType11 OutType0 OutType3 OutType8 IcmpMsg: 17 29979258 5 46 5 29247346 17 Tcp: RtoAlgorithm RtoMin RtoMax MaxConn ActiveOpens PassiveOpens AttemptFails EstabResets CurrEstab InSegs OutSegs RetransSegs InErrs OutRsts InCsumErrors Tcp: 1 200 120000 -1 135601608 170230274 41666916 89479005 254 1643219730 1726771159 9246750 404 77302858 0 Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors Udp: 76994893 29247346 0 133686204 0 0 0 UdpLite: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors InCsumErrors UdpLite: 0 0 0 0 0 0 0
二、
数据源: /proc/net/snmp; 采集方式:累计值,每10秒采集一次取差值; 指标:net.snmp.icmp (key: system); Out Dest Unreachs: 发送的icmp目的不可达包总数, out_dest_unreachs/10 -> op/s; In Dest Unreachs: 接收的icmp目的不可达包总数,in_dest_unreachs/10 -> op/s; Out Echo Reps: 发送的icmp回显应答包总数,out_echo_repos/10 -> op/s; In Echo Reps: 接收的icmp回显应答包总数,in_echo_repos/10 -> op/s; Out Echos: 发送的icmp回显请求包总数, out_echos/10 -> op/s; In Echos: 接收的icmp回显请求包总数,in_echos/10 -> op/s; Out Time Excds: 发送的icmp超时包的个数,out_time_excds/10 -> op/s; In Time Excds: 接收的icmp超时包的个数,in_time_excds/10 -> op/s;
以上是关于015_ICMP专项研究监控的主要内容,如果未能解决你的问题,请参考以下文章