mirror of https://github.com/mikaku/Monitorix.git
3.0: added 'nvidia' graph
This commit is contained in:
parent
a40b112dde
commit
babcb382da
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
package nvidia;
|
package nvidia;
|
||||||
|
|
||||||
#use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use Monitorix;
|
use Monitorix;
|
||||||
use RRDs;
|
use RRDs;
|
||||||
|
@ -264,6 +264,7 @@ sub nvidia_cgi {
|
||||||
"-r $tf->{res}");
|
"-r $tf->{res}");
|
||||||
$err = RRDs::error;
|
$err = RRDs::error;
|
||||||
print("ERROR: while fetching $rrd: $err\n") if $err;
|
print("ERROR: while fetching $rrd: $err\n") if $err;
|
||||||
|
my $line1;
|
||||||
my $line2;
|
my $line2;
|
||||||
my $line3;
|
my $line3;
|
||||||
print(" <pre style='font-size: 12px; color: $colors->{fg_color}';>\n");
|
print(" <pre style='font-size: 12px; color: $colors->{fg_color}';>\n");
|
||||||
|
|
Loading…
Reference in New Issue