W1-therm - Munin Plugin Gallery

Munin Plugin Gallery
  • Capabilities
    • autoconf (878)
    • autoconf,multigraph (1)
    • autoconf,suggest (1)
    • config (2)
    • dirtyconfig (64)
    • multigraph (181)
    • snmpconf (117)
    • suggest (194)
    • wildcard (313)
  • Families
    • apt-proxy (1)
    • auto (671)
    • auto contrib (10)
    • auto snmpauto contrib (1)
    • backuppc (1)
    • contrib (191)
    • contrib manual (1)
    • disk (1)
    • legacy (8)
    • licensing (1)
    • manual (169)
    • network (2)
    • power (3)
    • snmpauto (115)
    • snmpauto contrib (1)
    • squid (1)
  • Implementation Languages
    • AWK (2)
    • Bash (253)
    • C (4)
    • KornShell (3)
    • Perl (669)
    • PHP (51)
    • Python (2.x) (65)
    • Python (3.x) (90)
    • Ruby (35)
    • Shell (464)
    • Z shell (1)
  • Licenses
    • ADSL (6)
    • Beerware (2)
    • CC-BY-3.0 (1)
    • Cube (1)
    • curl (52)
    • GPL-2.0 (2)
    • GPL-2.0-only (481)
    • GPL-2.0-or-later (2)
    • GPL-3.0 (2)
    • GPL-3.0-only (35)
    • GPL-3.0-or-later (17)
    • Intel (6)
    • ISC (1)
    • JSON (16)
    • LGPL-2.0-only (5)
    • LGPL-2.0-or-later (1)
    • LGPL-3.0-only (2)
    • MIT (15)
    • Net-SNMP (2)
    • NTP (33)
    • OpenSSL (1)
    • PostgreSQL (46)
    • Ruby (1)
    • Sendmail (11)
    • Vim (1)
    • WTFPL (2)
    • Xerox (2)
  • Missing plugin details
    • Author (797)
    • Graph Categories (118)
    • Documentation (802)
    • Example Graphs (1546)
    • License (891)
    • Summary (935)
  • Plugin Repositories
    • Munin (master) (241)
    • Munin (2.0) (249)
    • Munin (contrib) (1147)
RepositoryMunin (contrib)Last change2012-08-23Graph Categories
  • sensors
FamilyautoCapabilities
  • autoconf
  • suggest
Keywords
  • sensors
LanguageShellw1-therm

Sadly there is no documentation for this plugin.

Source Code Copy#!/bin/sh #%# family=auto #%# capabilities=autoconf suggest # # Supported env variables: # desc: sensor description # NAME="${0#*_}" TITLE="Temperature ${desc:-on $NAME}" case "$1" in config) cat << EOF graph_title $TITLE graph_vlabel Celsius graph_args --base 1000 -l 0 graph_category sensors temp.label $NAME EOF ;; suggest) grep -lw "t=[0-9]*" /sys/bus/w1/devices/*/w1_slave 2>&1 |\ sed 's#.*/\([0-9a-f-]*\)/w1_slave#\1#' ;; autoconf) echo "yes" ;; *) awk '/t=/ { sub("t=", "", $NF); print "temp.value", $NF/1000.0 }' \ /sys/bus/w1/devices/"$NAME"/w1_slave ;; esac

Từ khóa » W1-therm Documentation