monshow enhancement for rmcmon eventlog

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ellen56 2011-03-27 12:25:32 +00:00
parent 8a17b167d6
commit c1af8f182b

View File

@ -1426,7 +1426,7 @@ sub show {
if ($nameref =~ /xCAT_monitoring::monitorctrl/) {
$nameref=shift;
}
my ($noderef, $sum, $time, $attrs, $pe, $callback) = @_;
my ($noderef, $sum, $time, $attrs, $pe, $where,$callback) = @_;
my %ret=();
my @product_names=@$nameref;
@ -1450,7 +1450,7 @@ sub show {
#initialize and start monitoring
no strict "refs";
if (defined(${$module_name."::"}{show})) {
my @ret1 = ${$module_name."::"}{show}->($noderef, $sum, $time, $attrs, $pe, $callback);
my @ret1 = ${$module_name."::"}{show}->($noderef, $sum, $time, $attrs, $pe, $where,$callback);
$ret{$_}=\@ret1;
}
} else {