From 458713fcbe3a6aae4d56c5a6dd1fa9abb56e2d5f Mon Sep 17 00:00:00 2001 From: "K.Cima" Date: Wed, 30 Aug 2017 19:11:58 +0900 Subject: [PATCH] Add munin plugin --- munin-plugin/temper | 51 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 munin-plugin/temper diff --git a/munin-plugin/temper b/munin-plugin/temper new file mode 100755 index 0000000..77912b7 --- /dev/null +++ b/munin-plugin/temper @@ -0,0 +1,51 @@ +#!/bin/bash +# -*- sh -*- + +# Munin plugin for TEMPer + +. $MUNIN_LIBDIR/plugins/plugin.sh + +pcsensor=${pcsensor:-/usr/local/bin/pcsensor} +pcsensor_opts="-m -c" + +# need calibration +cdef='temperature,1.0287,*,0.85,-' + +autoconf() { + echo 'no' + exit 0 +} + +config() { + cat <