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:
linggao 2007-11-29 20:01:00 +00:00
parent ef73e9399a
commit 7c2453afb6
2 changed files with 4 additions and 5 deletions

View File

@ -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
#-------------------------------------------------------------------------------

View File

@ -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);