Projet

Général

Profil

Révision 2e566be3

ID2e566be36d0e669cef664a95f071e764b54e1501
Parent dac093c3
Enfant e8d5b844

Ajouté par Ben Strauss il y a environ 13 ans

Update plugins/system/debsecan

adjusted patterns to grep

Voir les différences:

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