Notified user if ganglia RPMs are not installed when "Monitor on" is clicked.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2010-11-19 20:34:43 +00:00
parent 34a8a6f357
commit 9f0bcd6cbb

View File

@ -597,10 +597,15 @@ function monitorNode(node, monitor) {
for (var i in out) {
// If an RPM is not installed
if (out[i].indexOf('not installed') > -1) {
warningMsg += out[i] + '<br>';
warn = true;
}
}
if (warningMsg) {
warningMsg += '<br>' + out[i];
} else {
warningMsg = out[i];
}
} // End of if
} // End of for
// If there are warnings
if (warn) {