mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Update plugins/system/debsecan
adjusted patterns to grep
This commit is contained in:
parent
dac093c3b0
commit
2e566be36d
1 changed files with 4 additions and 4 deletions
|
@ -60,10 +60,10 @@ EOF_
|
||||||
fi
|
fi
|
||||||
|
|
||||||
debsecan 2> /dev/null > /tmp/debsecan.munin.$$
|
debsecan 2> /dev/null > /tmp/debsecan.munin.$$
|
||||||
high=`grep -c '(high urgency)' /tmp/debsecan.munin.$$`
|
high=`grep -c 'high urgency' /tmp/debsecan.munin.$$`
|
||||||
medium=`grep -c '(medium urgency)' /tmp/debsecan.munin.$$`
|
medium=`grep -c 'medium urgency' /tmp/debsecan.munin.$$`
|
||||||
low=`grep -c '(low urgency)' /tmp/debsecan.munin.$$`
|
low=`grep -c 'low urgency)' /tmp/debsecan.munin.$$`
|
||||||
other=`grep -c -v -e '(low urgency)' -e '(medium urgency)' -e '(high urgency)' /tmp/debsecan.munin.$$`
|
other=`grep -c -v -e 'low urgency' -e 'medium urgency' -e 'high urgency' /tmp/debsecan.munin.$$`
|
||||||
cat <<EOF_
|
cat <<EOF_
|
||||||
high.value $high
|
high.value $high
|
||||||
medium.value $medium
|
medium.value $medium
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue