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

@ -140,7 +140,7 @@ tray3.min 0
tray3.max 100
";
}
print "multigraph hpclj_pagecount
graph_category printing
graph_title HP Printer Page Counters
@ -182,11 +182,11 @@ sub printPercentageValue {
my $field = $_[0];
my $oid_cur = $_[1];
my $oid_max = $_[2];
if(not oidExists($oid_cur) || not oidExists($oid_max)){
return(0);
}
my $val_max = $session->get_single($oid_max) || 'U';
my $val_cur = $session->get_single($oid_cur);
if ($val_max ne 'U') {
@ -199,11 +199,11 @@ sub printValue {
}
my $field = $_[0];
my $oid = $_[1];
if(not oidExists($oid)){
return(0);
}
my $val_cur = $session->get_single($oid) || 'U';
if ($val_cur ne 'U') {
print $field, ".value ", $val_cur, "\n";
@ -215,7 +215,7 @@ sub oidExists {
}
my $oid = $_[0];
my $val = $session->get_single($oid);
if(!length $val || $val eq 'noSuchInstance' || $val eq 'U'){
return(0);
}else{