From b83961300a43b10bf66758e8c22aecfee91184c3 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Mon, 18 Apr 2011 03:32:09 +0000 Subject: [PATCH] confGmetad error git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/monitoring/gangliamon.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-server/lib/xcat/monitoring/gangliamon.pm b/xCAT-server/lib/xcat/monitoring/gangliamon.pm index ead295b27..930411882 100755 --- a/xCAT-server/lib/xcat/monitoring/gangliamon.pm +++ b/xCAT-server/lib/xcat/monitoring/gangliamon.pm @@ -431,12 +431,12 @@ sub confGmetad chomp(my $hostname = `hostname`); #version 3.1.0 - if (-e "/etc/ganglia/gmond.conf"){ - $configure_file = '/etc/ganglia/gmond.conf'; + if (-e "/etc/ganglia/gmetad.conf"){ + $configure_file = '/etc/ganglia/gmetad.conf'; } #version 3.0.7 - elsif (-e "/etc/gmond.conf"){ - $configure_file = '/etc/gmond.conf'; + elsif (-e "/etc/gmetad.conf"){ + $configure_file = '/etc/gmetad.conf'; } #non should install else