monor change on node status monitoring
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -8,16 +8,14 @@ package xCAT_monitoring::xcatmon; | ||||
| use xCAT::GlobalDef; | ||||
| use xCAT::Utils; | ||||
|  | ||||
| #caches the current node status. (serve1=>{active=>[node1,node3...], unreachable=>[node2, node4..]},....) | ||||
|  | ||||
| $flag; | ||||
|  | ||||
| 1; | ||||
| #------------------------------------------------------------------------------- | ||||
| =head1  xCAT_monitoring:xcatmon   | ||||
| =head2    Package Description | ||||
|    This is a xCAT monitoring plugin. The only thing that this plug-in does is  | ||||
|    the node monitoring.  | ||||
|    the node monitoring. To activate it simply do the following command: | ||||
|       chtab pname=xCAT monitoring.nodestatmon=Y | ||||
| =cut | ||||
| #------------------------------------------------------------------------------- | ||||
|  | ||||
|   | ||||
| @@ -7,7 +7,8 @@ use xCAT::GlobalDef; | ||||
| require("/usr/lib/xcat/monitoring/monitorctrl.pm"); | ||||
| ################################################################# | ||||
| # This script is used as a cron job by the xCAT monitoring plug-in | ||||
| # to monitor the node status | ||||
| # to monitor the node status. To activate it, simply do | ||||
| # chtab pname=xCAT monitoring.nodestatmon=Y | ||||
| ##################################################################  | ||||
|  | ||||
| ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user