Fix packet loss percent with dot number

Works with

0%
0.0%
100%
100.0%
This commit is contained in:
Erik Valdivieso 2018-08-29 11:31:01 -05:00 committed by GitHub
parent 92aac170d0
commit f3f76ad382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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