diff --git a/xCAT-server/sbin/pcp_collect b/xCAT-server/sbin/pcp_collect index 7facf4ccd..6eb25da60 100755 --- a/xCAT-server/sbin/pcp_collect +++ b/xCAT-server/sbin/pcp_collect @@ -38,7 +38,7 @@ sub performance { #opening foreach1 #print "opening foreach1 \n"; #print "key is: $key \n"; - my @key_a=split(',', $key); + my @key_a=split(':', $key); if (! $iphash{$key_a[0]}) { next;} my $mon_nodes=$noderef->{$key}; @@ -192,4 +192,4 @@ sub performance } #closing if nodestatusmon } #closing if count_child 1 - } # closing subroutine \ No newline at end of file + } # closing subroutine