From 27e95260b303d42ec0340715e9c31f74282a47b8 Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 18 Nov 2010 01:17:37 +0000 Subject: [PATCH] Allowed ganglia monitoring (gmond) to be started on individual nodes. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/web.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/web.pm b/xCAT-server/lib/xcat/plugins/web.pm index 18c5d9765..c496f2495 100644 --- a/xCAT-server/lib/xcat/plugins/web.pm +++ b/xCAT-server/lib/xcat/plugins/web.pm @@ -482,19 +482,6 @@ sub web_gangliastart() { $nr = ''; } - # Check the running status - my $table = xCAT::Table->new('monitoring'); - my $gangWorkingStatus = $table->getAttribs( { name => 'gangliamon' }, 'disable' ); - $table . close(); - - # Ganglia is running so return directly - if ($gangWorkingStatus) { - if ( $gangWorkingStatus->{disable} =~ /0|No|no|NO|N|n/ ) { - $callback->( { info => 'Ganglia Monitoring is running now.' } ); - return; - } - } - # Add gangliamon to the monitoring table my $info; my $output = `monadd gangliamon`;