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