From 2ffe2979681398a9068e877e11bc0a4d5931d6cd Mon Sep 17 00:00:00 2001 From: ellen56 Date: Fri, 13 Mar 2009 06:37:44 +0000 Subject: [PATCH] fix bug#2685843 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2887 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/monitoring/gangliamon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/monitoring/gangliamon.pm b/xCAT-server/lib/xcat/monitoring/gangliamon.pm index a38f15d0d..20f2772be 100755 --- a/xCAT-server/lib/xcat/monitoring/gangliamon.pm +++ b/xCAT-server/lib/xcat/monitoring/gangliamon.pm @@ -909,7 +909,7 @@ sub deconfGmond my $node = join(',',@children); print "the children are: $node \n"; print "saving the configured Gmond file in childern \n"; - if (-e "/etc/ganglia") + if (-e "/etc/ganglia/gmond.conf") { # opening if V3.1.0 print "Ganglia V 3.1.0 \n"; my $res_sv = `XCATBYPASS=Y $::XCATROOT/bin/xdsh $node /bin/cp -f /etc/ganglia/gmond.conf /etc/ganglia/gmond.conf.save`;