diff --git a/xCAT-UI/js/monitor/monitor.js b/xCAT-UI/js/monitor/monitor.js index f69422b35..d161b14df 100644 --- a/xCAT-UI/js/monitor/monitor.js +++ b/xCAT-UI/js/monitor/monitor.js @@ -66,11 +66,12 @@ function loadMonitorPage() { */ success : function(data){ // Initialize status for each tool - var monitorStatusHash = new Object(); - monitorStatusHash['xcatmon'] = 'Not monitored'; - monitorStatusHash['rmcmon'] = 'Not monitored'; - monitorStatusHash['rmcevent'] = 'Not monitored'; - monitorStatusHash['gangliamon'] = 'Not monitored'; + var statusHash = new Object(); + statusHash['xcatmon'] = 'Off'; + statusHash['rmcmon'] = 'Off'; + statusHash['rmcevent'] = 'Off'; + statusHash['gangliamon'] = 'Off'; + statusHash['pcpmon'] = 'Off'; if (data.rsp[0]) { var tempArray = data.rsp[0].split(';'); var position = 0; @@ -84,43 +85,80 @@ function loadMonitorPage() { name = tempArray[i].substr(0, position); status = tempArray[i].substr(position + 1); - monitorStatusHash[name] = status; + statusHash[name] = status; } - } + } - var monitorTable = '
Monitor Tool | Status | Description |
---|