2017-11-24 00:44:36 +01:00
|
|
|
# IP
|
|
|
|
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
|
|
|
|
colours=bright_blue
|
2015-01-25 18:36:02 +01:00
|
|
|
=======
|
|
|
|
# ipv6 number
|
|
|
|
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
|
|
|
|
colours=magenta
|
|
|
|
=======
|
2017-11-24 00:44:36 +01:00
|
|
|
# icmp_seq=##
|
|
|
|
regexp=icmp_seq=(\d+)
|
2016-06-19 01:18:18 +02:00
|
|
|
colours=default,yellow
|
|
|
|
=======
|
2017-11-24 00:44:36 +01:00
|
|
|
# ttl=#
|
|
|
|
regexp=ttl=(\d+)
|
|
|
|
colours=default,magenta
|
|
|
|
=======
|
|
|
|
# name
|
|
|
|
regexp=(?:[fF]rom|PING)\s(\S+)\s
|
|
|
|
colours=default,blue
|
|
|
|
=======
|
2015-01-25 18:36:02 +01:00
|
|
|
# time
|
2016-06-19 01:18:18 +02:00
|
|
|
regexp=([0-9\.]+)\s?ms
|
2017-11-24 00:44:36 +01:00
|
|
|
colours=green,bold green
|
2015-01-25 18:36:02 +01:00
|
|
|
=======
|
|
|
|
# DUP
|
|
|
|
regexp=DUP\!
|
|
|
|
colours=red
|
|
|
|
=======
|
2017-11-24 00:44:36 +01:00
|
|
|
# OK
|
|
|
|
regexp=0% packet loss
|
|
|
|
colours=green
|
|
|
|
=======
|
|
|
|
# Errors
|
|
|
|
regexp=(Destination Host Unreachable|100% packet loss)
|
2016-06-19 01:18:18 +02:00
|
|
|
colours=red
|
2015-01-25 18:36:02 +01:00
|
|
|
=======
|
|
|
|
# unknown host
|
|
|
|
regexp=.+unknown\shost\s(.+)
|
|
|
|
colours=red,bold red
|
2016-06-19 01:18:18 +02:00
|
|
|
-
|
2017-11-24 00:44:36 +01:00
|
|
|
# statistics header
|
|
|
|
regexp=--- (\S+) ping statistics ---
|
|
|
|
colours=bold, bold blue
|
2016-06-19 01:18:18 +02:00
|
|
|
-
|
|
|
|
# last line min/avg/max/mdev
|
2017-11-24 00:44:36 +01:00
|
|
|
regexp=rtt (min)/(avg)/(max)/(mdev)
|
2016-06-19 01:18:18 +02:00
|
|
|
colours=default,bright_yellow,bright_blue,bright_red,bright_magenta
|
|
|
|
-
|
|
|
|
# last line values
|
2017-11-24 00:44:36 +01:00
|
|
|
regexp=\=\s([0-9\.]+)\/([0-9\.]+)\/([0-9\.]+)\/([0-9\.]+)
|
2016-06-19 01:18:18 +02:00
|
|
|
colours=default,bright_yellow,bright_blue,bright_red,bright_magenta
|
2018-04-28 19:19:42 +02:00
|
|
|
-
|
|
|
|
# these are good for nping
|
|
|
|
regexp=SENT|RCVD
|
|
|
|
colours=red
|
|
|
|
-
|
|
|
|
# nping
|
|
|
|
regexp=unreachable
|
|
|
|
colours=red
|
|
|
|
|