Added wildcards to nlog
This commit is contained in:
@@ -119,7 +119,7 @@ fi
|
||||
timeSub=""
|
||||
[ -z "$noTime" ] && timeSub="&& sub (/^\[[0-9]{10}]/, strftime (\"%Y-%m-%d %H:%M:%S\", substr (\$1, 2, 10)), \$1)"
|
||||
|
||||
awkString="/^\[[0-9]{10}] (GLOBAL |CURRENT )?$aSource (DOWNTIME |FLAPPING )?$aType: .*$host.*$service/"
|
||||
awkString="/^\[[0-9]{10}] (GLOBAL |CURRENT )?$aSource[^ ]* (DOWNTIME |FLAPPING )?$aType[^:]*: .*$host.*$service/"
|
||||
[ -n "$raw" ] && awkString="/./"
|
||||
do_debug "host=$host"
|
||||
do_debug "service=$service"
|
||||
|
||||
Reference in New Issue
Block a user