confGmetad error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0724dd9eb0
commit
b83961300a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user