mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
30 lines
320 B
Bash
Executable file
30 lines
320 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#%# family=manual
|
|
#%# capabilities=autoconf
|
|
|
|
STYLE=LINE2
|
|
GRAPH="pid"
|
|
SECTION="system"
|
|
|
|
run_autoconf() {
|
|
echo yes
|
|
}
|
|
|
|
run_config() {
|
|
cat << EOF
|
|
graph_title ${GRAPH}
|
|
graph_category ${SECTION}
|
|
graph_vlabel pid
|
|
pid.label pid
|
|
pid.draw LINE2
|
|
pid.min 0
|
|
pid.info pid
|
|
EOF
|
|
}
|
|
|
|
run_() {
|
|
echo "pid.value $$"
|
|
}
|
|
|
|
run_$1
|