mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	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:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user