Révision 2e566be3
Update plugins/system/debsecan
adjusted patterns to grep
| plugins/system/debsecan | ||
|---|---|---|
| 60 | 60 |
fi |
| 61 | 61 |
|
| 62 | 62 |
debsecan 2> /dev/null > /tmp/debsecan.munin.$$ |
| 63 |
high=`grep -c '(high urgency)' /tmp/debsecan.munin.$$`
|
|
| 64 |
medium=`grep -c '(medium urgency)' /tmp/debsecan.munin.$$`
|
|
| 65 |
low=`grep -c '(low urgency)' /tmp/debsecan.munin.$$`
|
|
| 66 |
other=`grep -c -v -e '(low urgency)' -e '(medium urgency)' -e '(high urgency)' /tmp/debsecan.munin.$$`
|
|
| 63 |
high=`grep -c 'high urgency' /tmp/debsecan.munin.$$`
|
|
| 64 |
medium=`grep -c 'medium urgency' /tmp/debsecan.munin.$$`
|
|
| 65 |
low=`grep -c 'low urgency)' /tmp/debsecan.munin.$$` |
|
| 66 |
other=`grep -c -v -e 'low urgency' -e 'medium urgency' -e 'high urgency' /tmp/debsecan.munin.$$`
|
|
| 67 | 67 |
cat <<EOF_ |
| 68 | 68 |
high.value $high |
| 69 | 69 |
medium.value $medium |
Formats disponibles : Unified diff