2
0
mirror of https://github.com/garabik/grc.git synced 2024-09-18 17:31:29 +02:00
bash-color-grc/mrsmith/conf.mtr
Radovan Garabík 56be92284d initial commit
2015-01-25 18:36:02 +01:00

28 lines
473 B
Plaintext

#ip address
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=green
=======
# % 0.0 - 10.9 % loss
regexp=[^\d][0-9]{1}.\d%
colours=green
=======
# % 11.0 - 30.9 % loss
regexp=[123]{1}[0-9]{1}.\d%
colours=yellow
=======
# % 30.0 - 80.9% loss
regexp=[3-8]{1}[0-9]{1}.\d%
colours=bold yellow
=======
# % 80.0 - 95.9% loss
regexp=[8-9]{1}[0-9]{1}.\d%
colours=red
=======
# unknow host
regexp=\?\?\?
colours=red
=======
# Packets/Pings
regexp=(Packets|Pings)
colours=bold green