X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fmrtg.pl;h=81190121374e5f4adefeb95a6f3b49ca7aa3a9e8;hb=e85652985b97c1f094e8046160a907365039b48c;hp=6ee9d0b786dff32c596dc86e5a601bc899b86490;hpb=b8f5ec9dc0f8bf9b31e4d606c36a2939e032c00a;p=spider.git diff --git a/cmd/mrtg.pl b/cmd/mrtg.pl index 6ee9d0b7..81190121 100644 --- a/cmd/mrtg.pl +++ b/cmd/mrtg.pl @@ -70,7 +70,7 @@ if (!$main::is_win && ($want{proc} || $want{all})) { chomp; my $l = $_; # dbg($l); - next unless $l =~ m{/spider/perl/cluster\.pl$}; + next unless $l =~ m{cluster\.pl$}; my @f = split /\s+/, $l; # dbg("$f[9]"); my ($m, $s) = split /:/, $f[9]; @@ -80,7 +80,7 @@ if (!$main::is_win && ($want{proc} || $want{all})) { $f->close; } if ($secs) { - $mc->cfgprint('proc', [qw(noi)], 64000, + $mc->cfgprint('proc', [qw(noi perminute)], 64000, "Processor Usage", 'Secs', 'Secs', 'Secs') unless $want{dataonly}; $mc->data('proc', $secs, $secs, "Processor Usage") unless $want{cfgonly};