mirror of
https://github.com/garabik/grc.git
synced 2024-10-28 17:41:01 +01:00
28 lines
473 B
Plaintext
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
|