1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-08-07 14:43:13 +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

@ -75,7 +75,7 @@ charge.type GAUGE
charge.min 0
charge.max 100
";
print "multigraph cyberpower_runtime
graph_title CyberPower UPS Runtime
graph_info This graph shows expected runtime informatiom.
@ -86,7 +86,7 @@ graph_vlabel minutes
runtime.draw AREA
runtime.type GAUGE
";
print "multigraph cyberpower_voltage
graph_title CyberPower UPS Voltages
graph_info This graph shows voltage information.
@ -101,7 +101,7 @@ input.type GAUGE
output.draw LINE1
output.type GAUGE
";
if(oidExists(oid_cps_env_temp) && oidExists(oid_cps_env_humidity)){
print "multigraph cyberpower_environment
graph_title CyberPower UPS Environment
@ -120,7 +120,7 @@ humidity.min 0
humidity.max 100
";
}
exit 0;
}
@ -177,7 +177,7 @@ sub oidExists {
}
my $oid = $_[0];
my $val = $session->get_single($oid);
if(!length $val || $val eq 'noSuchInstance' || $val eq 'U'){
return(0);
}else{