add filter keyword for rrdtool

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ellen56 2009-07-07 10:44:55 +00:00
parent 7a6df687e7
commit 70f3873181

View File

@ -1506,7 +1506,7 @@ sub showmetrix($rrddir, $attrs, $start_time, $end_time)
push @$output, $line;
}
foreach $line (@$output){
if($line =~ /NaNQ/){
if($line =~ /[NaNQ|nan]/){
next;
} elsif ($line =~ /^(\d+): (\S+) (\S+)/){
$timestamp = $1;