X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/blobdiff_plain/58c56c832af936147946c4b2e30eb3e1f90ee51d..6c1071ee6b37201ba1e39703a198c35d219fc647:/temperature.conf diff --git a/temperature.conf b/temperature.conf new file mode 100644 index 0000000..168a779 --- /dev/null +++ b/temperature.conf @@ -0,0 +1,27 @@ +package UPSGRAPH; + +$outdir="/var/www/temperature/"; +$step=60; + +$hosts = [ + { + 'address' => "10.50.252.253", + 'name' => "usv1", + 'community' => "public", + 'rrdfile' => "/var/www/temperature/.work/temp.rrd", + + 'fields' => [ 'battT' ], + + 'vars' => { + 'battT' => { + 'name' => 'Battery Temperature', + 'oidtext' => 'PowerNet-MIB::upsAdvBatteryTemperature.0', + 'oid' => '1.3.6.1.4.1.318.1.1.1.2.2.2.0', + 'min' => '0', + 'max' => '100', + }, + }, + } +]; + +1;