Merge pull request #131 from Raizo62/devel

grc.conf : command ip and traceroute :
This commit is contained in:
Radovan Garabík 2020-07-19 13:53:49 +02:00 committed by GitHub
commit 8c2a0ace74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -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+\!

View File

@ -99,18 +99,18 @@ conf.df
conf.du
# ip addr/link
(^|[/\w\.]+/)ip a(ddr)*\s?
(^|[/\w\.]+/)ip( -\w+)* a(d(d(r(e(ss?)?)?)?)?)?\b
conf.ipaddr
(^|[/\w\.]+/)ip ?(-.)* ?l(ink)*\s?
(^|[/\w\.]+/)ip( -\w+)* l(i(nk?)?)?\b
conf.ipaddr
# ip route
(^|[/\w\.]+/)ip r(oute)*\s?
(^|[/\w\.]+/)ip( -\w+)* r(o(u(te?)?)?)?\b
conf.iproute
# ip neighbor
(^|[/\w\.]+/)ip n(eighbor)*\s?
(^|[/\w\.]+/)ip( -\w+)* n(e(i(g(h(b(o(ur?)?)?)?)?)?)?)?\b
conf.ipneighbor
# ip command - rest of commands