work-around to re-format graphs temporarily

This commit is contained in:
Jordi Sanfeliu 2017-07-20 08:11:02 +02:00
parent 60e3c47f83
commit 933372ff47
1 changed files with 9 additions and 3 deletions

View File

@ -181,6 +181,9 @@ sub graph_header {
push(@output, " </font>\n");
push(@output, " </td>\n");
push(@output, " </tr>\n");
if(lc($config{enable_parallelizing} || "") ne "y") {
print @output;
}
return @output;
}
@ -189,6 +192,9 @@ sub graph_footer {
push(@output, " </table>\n");
push(@output, "<!-- graph table ends -->\n");
if(lc($config{enable_parallelizing} || "") ne "y") {
print @output;
}
return @output;
}
@ -574,10 +580,10 @@ if($mode eq "localhost") {
while($children--) {
waitpid(-1, 0); # wait for all children
}
# foreach (split(',', $config{graph_name})) {
# my $gn = trim($_);
foreach (split(',', $config{graph_name})) {
my $gn = trim($_);
# print @{$outputs{$gn}} if $outputs{$gn};
# }
}
}
} elsif($mode eq "multihost") {