mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Properly indent heredocs
This commit is contained in:
parent
e2b04d0b46
commit
31149eb05d
1 changed files with 62 additions and 62 deletions
|
@ -93,7 +93,7 @@ case "${MODE}" in
|
|||
esac
|
||||
|
||||
if [ "$1" = "config" ]; then
|
||||
cat <<EOF_
|
||||
cat <<- EOF
|
||||
graph_title DebSecan: ${TITLE_ADD}vulnerabilities
|
||||
graph_info ${TITLE_ADD}vulnerabilities for ${SUITE}
|
||||
graph_args -l 0 --base 1000
|
||||
|
@ -140,7 +140,7 @@ fixed.min 0
|
|||
fixed.info The number of ${TITLE_ADD}CVEs fixed by available updates
|
||||
fixed.warning ${FIXEDWARN}
|
||||
fixed.critical ${FIXEDCRIT}
|
||||
EOF_
|
||||
EOF
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -182,7 +182,7 @@ esac
|
|||
# Reformat the output of the cut|sort|uniq... to a more human-friendly "item (count)" format
|
||||
CVECOUNTRE='s/^ *\([0-9]\+\) \+\([^ ]\+\)/\2 (\1)/'
|
||||
|
||||
cat <<EOF
|
||||
cat <<- EOF
|
||||
remote.value $remote_count
|
||||
remote.extinfo $(printf '%s' "${REMOTE}" | count_entries "${FIELD}" | sort -nr | sed "${CVECOUNTRE}" | xargs)
|
||||
high.value $high_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue