leerzeilen
This commit is contained in:
parent
3f84a481e3
commit
8f8dbda1e9
1 changed files with 0 additions and 6 deletions
|
@ -28,14 +28,12 @@
|
|||
# - [ ] doku für munin mit ==HEAD usw.
|
||||
|
||||
|
||||
|
||||
# setze Variablen mit default-Werten
|
||||
ssh_user=${ssh_user:-user}
|
||||
ssh_password=${ssh_password:-password}
|
||||
ssh_host=${ssh_host:-192.168.2.1}
|
||||
c=0 # zähler; wird für verschiedene Schleifen benötigt
|
||||
|
||||
|
||||
# Funktionen
|
||||
function get_name {
|
||||
while read -r line; do
|
||||
|
@ -351,8 +349,6 @@ function get_disk_value {
|
|||
done <<< "$data"
|
||||
}
|
||||
|
||||
|
||||
|
||||
# rufe funktionen auf, reihenfolge ist wichtig
|
||||
check_sshpass
|
||||
check_bc
|
||||
|
@ -360,7 +356,6 @@ get_data
|
|||
get_name
|
||||
get_cpu_count
|
||||
|
||||
|
||||
# munin-Logik
|
||||
# wenn $1 = X; dann
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
|
@ -411,7 +406,6 @@ get_cpu_value
|
|||
get_memory_value
|
||||
exit 0
|
||||
|
||||
|
||||
# Beispieloutput:
|
||||
# voltage: 24.5V
|
||||
# temperature: 46C
|
||||
|
|
Loading…
Reference in a new issue