/** * Global variables */ var monitorTabs; // Monitor tabs /** * Set the monitor tab * * @param o * Tab object * @return Nothing */ function setMonitorTab(o) { monitorTabs = o; } /** * Get the monitor tab * * @param Nothing * @return Tab object */ function getMonitorTab() { return monitorTabs; } /** * Load the monitor page * * @return Nothing */ function loadMonitorPage() { // If the page is already loaded if ($('#monitor_page').children().length) { // Do not reload the monitor page return; } // Create monitor tab var tab = new Tab(); setConfigTab(tab); tab.init(); $('#content').append(tab.object()); // Create provision tab var tab = new Tab(); setMonitorTab(tab); tab.init(); $('#content').append(tab.object()); /** * Monitor nodes */ var monitorForm = $('
'); // Create info bar monitorForm.append('Getting monitoring stauts').append(createLoader()); tab.add('monitorTab', 'Monitor', monitorForm, false); $.ajax( { url : 'lib/cmd.php', dataType : 'json', data : { cmd : 'webrun', tgt : '', args : 'monls', msg : '' }, success : function(data){ var monitorTable = 'Monitor Tool | Status | Description |
---|---|---|
xCAT Monitor | '; monitorTable += '' + monitorStatusHash['xcatmon'] + ' | '; monitorTable += 'Provides node status monitoring using fping on AIX and nmap on Linux. It also provides application status monitoring. The status and the appstatus columns of the nodelist table will be updated periodically with the latest status values for the nodes. |
RMC Monitor | '; monitorTable += '' + monitorStatusHash['rmcmon'] + ' | '; monitorTable += 'IBM\'s Resource Monitoring and Control (RMC) subsystem is our recommended software for monitoring xCAT clusters. It\'s is part of the IBM\'s Reliable Scalable Cluster Technology (RSCT) that provides a comprehensive clustering environment for AIX and LINUX. |
RMC Event | '; monitorTable += '' + monitorStatusHash['rmcmon'] + ' | '; monitorTable += 'Listing event monitoring information recorded by the RSCT Event Response resource manager in the audit log. Creating and removing a condition/response association. |
Ganglia Monitor | '; monitorTable += '' + monitorStatusHash['gangliamon'] + ' | '; monitorTable += 'A scalable distributed monitoring system for high-performance computing systems such as clusters and Grids. |
PCP Monitor | '; monitorTable += 'undefined | '; monitorTable += 'Under construction. |