mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Change regex to match "prepend" pattern
This commit is contained in:
parent
8939111823
commit
24f4883777
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ fi
|
||||||
#
|
#
|
||||||
|
|
||||||
function get_log_count() {
|
function get_log_count() {
|
||||||
egrep "policyd-spf\[[0-9]+\]: $1;" "$LOGFILE" | grep "$(date '+%b %e')" | wc -l
|
egrep "policyd-spf\[[0-9]+\]:(.*) $1" "$LOGFILE" | grep "$(date '+%b %e')" | wc -l
|
||||||
}
|
}
|
||||||
|
|
||||||
PASS=$(get_log_count "Pass")
|
PASS=$(get_log_count "Pass")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue