mirror of https://github.com/garabik/grc.git
Fix packet loss percent with dot number
Works with 0% 0.0% 100% 100.0%
This commit is contained in:
parent
92aac170d0
commit
f3f76ad382
|
@ -27,11 +27,11 @@ regexp=DUP\!
|
|||
colours=red
|
||||
=======
|
||||
# OK
|
||||
regexp=0% packet loss
|
||||
regexp= 0(\.0)?% packet loss
|
||||
colours=green
|
||||
=======
|
||||
# Errors
|
||||
regexp=(Destination Host Unreachable|100% packet loss)
|
||||
regexp=(Destination Host Unreachable|100(\.0)?% packet loss)
|
||||
colours=red
|
||||
=======
|
||||
# unknown host
|
||||
|
|
Loading…
Reference in New Issue