mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	minor changes in monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -156,7 +156,7 @@ sub stopNodeStatusMon { | ||||
|       to the xCAT cluster. It should add the nodes into the product for monitoring. | ||||
|     Arguments: | ||||
|       nodes --nodes to be added. It is a pointer to an array. If the next argument is | ||||
|        1, each element is a ref to an array of [nodes, nodetype, status]. For example:  | ||||
|        1, each element is a ref to an array of [nodes, status]. For example:  | ||||
|           [['node1', 'active'], ['node2', 'booting']..].  | ||||
|        if the next argument is 0, each element is a node name to be added. | ||||
|       boolean -- 1, or 0.  | ||||
| @@ -192,7 +192,7 @@ sub addNodes { | ||||
|       from the xCAT cluster. It should remove the nodes from the product for monitoring. | ||||
|     Arguments: | ||||
|       nodes --nodes to be added. It is a pointer to an array. If the next argument is | ||||
|        1, each element is a ref to an array of [nodes, nodetype, status]. For example:  | ||||
|        1, each element is a ref to an array of [nodes, status]. For example:  | ||||
|           [['node1', 'active'], ['node2', 'booting']..].  | ||||
|        if the next argument is 0, each element is a node name to be added. | ||||
|       boolean -- 1, or 0.  | ||||
|   | ||||
| @@ -38,11 +38,6 @@ use xCAT_monitoring::monitorctrl; | ||||
| sub start { | ||||
|   #print "snmpmon::start called\n"; | ||||
|  | ||||
|   $noderef=shift; | ||||
|   if ($noderef =~ /xCAT_monitoring::snmpmon/) { | ||||
|     $noderef=shift; | ||||
|   } | ||||
|  | ||||
|   # do not turn it on on the service node | ||||
|   #if (xCAT::Utils->isServiceNode()) { return (0, "");} | ||||
|  | ||||
| @@ -530,7 +525,7 @@ sub stopNodeStatusMon { | ||||
|       This function adds the nodes into the  SNMP domain. | ||||
|     Arguments: | ||||
|       nodes --nodes to be added. It is a pointer to an array. If the next argument is | ||||
|        1, each element is a ref to an array of [nodes, nodetype, status]. For example:  | ||||
|        1, each element is a ref to an array of [nodes, status]. For example:  | ||||
|           [['node1', 'active'], ['node2', 'booting']..].  | ||||
|        if the next argument is 0, each element is a node name to be added. | ||||
|       boolean -- 1, or 0.  | ||||
| @@ -562,7 +557,7 @@ sub addNodes { | ||||
|       This function removes the nodes from the SNMP domain. | ||||
|     Arguments: | ||||
|       nodes --nodes to be added. It is a pointer to an array. If the next argument is | ||||
|        1, each element is a ref to an array of [nodes, nodetype, status]. For example:  | ||||
|        1, each element is a ref to an array of [nodes, status]. For example:  | ||||
|           [['node1', 'active'], ['node2', 'booting']..].  | ||||
|        if the next argument is 0, each element is a node name to be added. | ||||
|       boolean -- 1, or 0.  | ||||
|   | ||||
| @@ -167,7 +167,7 @@ sub stopNodeStatusMon { | ||||
|       to the xCAT cluster. It should add the nodes into the product for monitoring. | ||||
|     Arguments: | ||||
|       nodes --nodes to be added. It is a pointer to an array. If the next argument is | ||||
|        1, each element is a ref to an array of [nodes, nodetype, status]. For example:  | ||||
|        1, each element is a ref to an array of [nodes, status]. For example:  | ||||
|           [['node1', 'active'], ['node2', 'booting']..].  | ||||
|        if the next argument is 0, each element is a node name to be added. | ||||
|       boolean -- 1, or 0.  | ||||
| @@ -188,7 +188,7 @@ sub addNodes { | ||||
|       from the xCAT cluster. It should remove the nodes from the product for monitoring. | ||||
|     Arguments: | ||||
|       nodes --nodes to be added. It is a pointer to an array. If the next argument is | ||||
|        1, each element is a ref to an array of [nodes, nodetype, status]. For example:  | ||||
|        1, each element is a ref to an array of [nodes, status]. For example:  | ||||
|           [['node1', 'active'], ['node2', 'booting']..].  | ||||
|        if the next argument is 0, each element is a node name to be added. | ||||
|       boolean -- 1, or 0.  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user