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
This commit is contained in:
phamt 2010-11-18 01:17:37 +00:00
parent 43a288d844
commit 27e95260b3

View File

@ -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`;