]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/cfgroot/graphs.pl
Drop support for entropy graph
[people/pmueller/ipfire-2.x.git] / config / cfgroot / graphs.pl
index 3368e5aad29583270d91b7c3d5f6d27db8973037..8a67354098d4fc6d49211b6aa257ff61e952bec6 100644 (file)
@@ -1169,34 +1169,6 @@ sub getprocesses {
        return @processesgraph;
 }
 
-sub updateentropygraph {
-       my $period    = $_[0];
-       my @command = (
-               @GRAPH_ARGS,
-               "-",
-               "--start",
-               "-1".$period,
-               "-r",
-               "--lower-limit","0",
-               "-t ".$Lang::tr{'entropy'}." ".$Lang::tr{'graph per'}." ".$Lang::tr{$period."-graph"},
-               "-v $Lang::tr{'bit'}",
-               "DEF:entropy=$mainsettings{'RRDLOG'}/collectd/localhost/entropy/entropy.rrd:entropy:AVERAGE",
-               "LINE3:entropy#ff0000:" . sprintf("%-15s", $Lang::tr{'entropy'}),
-               "VDEF:entrmin=entropy,MINIMUM",
-               "VDEF:entrmax=entropy,MAXIMUM",
-               "VDEF:entravg=entropy,AVERAGE",
-               "GPRINT:entrmax:" . sprintf("%12s\\: %%5.0lf", $Lang::tr{'maximum'}),
-               "GPRINT:entrmin:" . sprintf("%12s\\: %%5.0lf", $Lang::tr{'minimum'}),
-               "GPRINT:entravg:" . sprintf("%12s\\: %%5.0lf", $Lang::tr{'average'}) . "\\n",
-               "--color=BACK".$color{"color21"},
-       );
-
-       RRDs::graph (@command);
-       $ERROR = RRDs::error;
-
-       return "Error in RRD::graph for entropy: ".$ERROR."\n" if $ERROR;
-}
-
 sub updateconntrackgraph {
        my $period = $_[0];
        my @command = (