1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-04 07:04:02 +00:00

Whitespace cleanup

* remove trailing whitespace
* remove empty lines at the end of files
This commit is contained in:
Lars Kruse 2018-08-02 02:03:42 +02:00
parent ef851f0c34
commit 17f784270a
604 changed files with 2927 additions and 2945 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/perl
#
# Copyright (C) 2008 Yuriy Sabov
# Version 0.1
# Version 0.1
#
# Plugin to fetch temperature from "IP Thermo 125" ethernet thermometer
# available at http://www.procontrol.hu/GyartasFejlesztes/Termekeink/IPThermoSimple/IPThermo125_eng.htm
@ -18,7 +18,7 @@
my ($hostname, $port, $line, $telnet);
# "C" = Celsius, "F" = Fahrenheit
my $unit = $ENV{unit} || "C";
my $unit = $ENV{unit} || "C";
$hostname = "10.10.10.10";
$port = 23;
@ -38,7 +38,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_args --base 1000 -l 0\n";
print "graph_category sensors\n";
print "graph_info This graph shows temperature using IP Thermo 125 server.\n";
if ($unit =~ /F/)
{
print "graph_vlabel temp in °F\n";
@ -48,8 +48,8 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_vlabel temp in °C\n";
}
print "temperature.label temperature\n";
exit 0
exit 0;
}
$telnet = new Net::Telnet (Telnetmode => 0);