diff --git a/xCAT-rmc/plugin/rmcmon.pm b/xCAT-rmc/plugin/rmcmon.pm index 222686fd9..5132690c6 100644 --- a/xCAT-rmc/plugin/rmcmon.pm +++ b/xCAT-rmc/plugin/rmcmon.pm @@ -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;