From efe3eb3a5a3cdc63e27b4484ba7f1e726c9c130d Mon Sep 17 00:00:00 2001 From: linggao Date: Thu, 2 Dec 2010 15:54:43 +0000 Subject: [PATCH] some doc changes for xcatmon git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8304 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/monadd.1.pod | 2 +- xCAT-server/lib/xcat/monitoring/xcatmon.pm | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/xCAT-client/pods/man1/monadd.1.pod b/xCAT-client/pods/man1/monadd.1.pod index 3d072ae43..f31792f9f 100644 --- a/xCAT-client/pods/man1/monadd.1.pod +++ b/xCAT-client/pods/man1/monadd.1.pod @@ -77,7 +77,7 @@ This will also add the I to the I table. To view the To register xcatmon plug-in module to feed the node liveness status to xCAT's I table, enter: - monadd rmcmon -n -s ping-interval=2 + monadd xcatmon -n -s ping-interval=2 where 2 is the number of minutes between the pings. diff --git a/xCAT-server/lib/xcat/monitoring/xcatmon.pm b/xCAT-server/lib/xcat/monitoring/xcatmon.pm index 0df9a34f9..895c3f837 100644 --- a/xCAT-server/lib/xcat/monitoring/xcatmon.pm +++ b/xCAT-server/lib/xcat/monitoring/xcatmon.pm @@ -411,22 +411,22 @@ sub getDescription { xcatmon provides node status monitoring using fping on AIX and nmap on Linux. It also provides application status monitoring. The status and the appstatus columns of the nodelist table will be updated periodically with the latest - status values for the nodes. Use command 'monstart xcatmon -n' to start - monitoring. + status values for the nodes. Use command 'monadd xcatmon -n' and then + 'monstart xcatmon' to start monitoring. Settings: - ping - interval: the number of minutes between each fping operation. + ping-interval: the number of minutes between each fping operation. The default value is 3. - apps -- a list of comma separated application names whose status will be queried. + apps: a list of comma separated application names whose status will be queried. For how to get the status of each app, look for app name in the key filed in a different row. - port -- the application daemon port number, if not specified, use internal list, + port: the application daemon port number, if not specified, use internal list, then /etc/services. - group -- the name of a node group that needs to get the application status from. + group: the name of a node group that needs to get the application status from. If not specified, assume all the nodes in the nodelist table. To specify more than one groups, use group=a,group=b format. - cmd -- the command that will be run locally on mn or sn. - lcmd -- the command that will be run locally on the mn only. - dcmd -- the command that will be run distributed on the nodes using xdsh. + cmd: the command that will be run locally on mn or sn. + lcmd: the command that will be run locally on the mn only. + dcmd: the command that will be run distributed on the nodes using xdsh. For commands specified by 'cmd' and 'lcmd', the input of is a list of comma separated node names, the output must be in the following format: