From 70f3873181567762f9af9e2a45ef674a03e199eb Mon Sep 17 00:00:00 2001 From: ellen56 Date: Tue, 7 Jul 2009 10:44:55 +0000 Subject: [PATCH] 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 --- xCAT-rmc/plugin/rmcmon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;