# | Line 202 | Line 202 | sub makegraph() { | |
---|---|---|
202 | RRDs::graph ("$imgdir/$machine/$type-1m.png", "--start=-2678400", @rrdcmd); | |
203 | my($err_1m) = RRDs::error; | |
204 | print STDERR "Error generating 1m graph for $machine/$type: $err_1m\n" if $err_1m; | |
205 | + | RRDs::graph ("$imgdir/$machine/$type-1y.png", "--start=-31536000", @rrdcmd); |
206 | + | my($err_1y) = RRDs::error; |
207 | + | print STDERR "Error generating 1y graph for $machine/$type: $err_1y\n" if $err_1y; |
208 | return; | |
209 | } | |
210 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |