mirror of https://github.com/garabik/grc.git
conf.traceroute : - replace \b by \s (see the example below)
- good regular expression for warning messages (letters from : https://linux.die.net/man/8/traceroute) - remove the example with the command mail (which report with traceroute ?) traceroute to 30.0.0.4 (30.0.0.4), 30 hops max, 60 byte packets 1 10.0.0.2 (10.0.0.2) 0.648 ms 0.479 ms 0.426 ms 2 23.0.0.3 (23.0.0.3) 1.983 ms 2.402 ms 2.509 ms 3 23.0.0.3 (23.0.0.3) 3058.805 ms !H 3059.171 ms !H 3058.985 ms !H
This commit is contained in:
parent
1a8a777ee0
commit
6006304f28
|
@ -24,10 +24,8 @@ regexp=\bDUP
|
|||
colours=red
|
||||
-
|
||||
# !S, !A, !H (host unreachable), etc.
|
||||
regexp=\b\![AFGNPSTU]
|
||||
regexp=\s\!([HNPSFXVC]|\d+)
|
||||
colours=red
|
||||
# just an example:
|
||||
#command=echo 'Network is down'| mail root
|
||||
-
|
||||
# ttl=...!
|
||||
regexp=ttl=\d+\!
|
||||
|
|
Loading…
Reference in New Issue