1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

plugin categories: reorganize multiple plugins

This commit is contained in:
Lars Kruse 2018-03-28 04:33:45 +02:00
parent 5a45d49760
commit 34eeebbe37
19 changed files with 21 additions and 29 deletions

View file

@ -14,7 +14,6 @@ plugin="${0##*/}" # name of plugin
pidfile="$MUNIN_PLUGSTATE/munin.$plugin.pid"
cache="$MUNIN_PLUGSTATE/munin.$plugin.value"
graph="$plugin"
section="system:cpu"
style="AREA"
cpus=$(grep -c ^processor /proc/cpuinfo)
@ -52,7 +51,7 @@ run_config() {
run_daemon
cat << EOF
graph_title $graph
graph_category $section
graph_category 1sec
graph_vlabel average cpu use %
graph_scale no
graph_total All CPUs
@ -87,6 +86,3 @@ exit 0
# acquire which needs a different pid than watchdog, otherwise watchdog
# could/will kill itself when expiring before the watched process is killed.
# not a POSIX feature.
# for Munin Plugin Gallery
# graph_category 1sec