diff --git a/xCAT-UI/js/monitor/gangliamon.js b/xCAT-UI/js/monitor/gangliamon.js index 25c813ff0..1aeec021b 100644 --- a/xCAT-UI/js/monitor/gangliamon.js +++ b/xCAT-UI/js/monitor/gangliamon.js @@ -31,7 +31,25 @@ function loadGangliaMon() { gangliaTab.append(nodes); // Create info bar - var info = createInfoBar('Select a group to view the nodes summary'); + var gangliaLnk = $('Click here'); + gangliaLnk.css( { + 'color' : 'blue', + 'text-decoration' : 'none' + }); + gangliaLnk.click(function() { + // Open a new window for Ganglia + window.open('../ganglia/'); + }); + + // Create info bar + var info = $('
'); + info.append(''); + var msg = $(''); + msg.append('Select a group to view the nodes summary. '); + msg.append(gangliaLnk); + msg.append(' to open the Ganglia page.'); + info.append(msg); + info.css('margin-bottom', '10px'); nodes.append(info); // Get groups