crm_mon — monitor the cluster's status
crm_mon[-V]-d-pfilename-hfilename
crm_mon[-V][-1|-n|-r]-hfilename
crm_mon[-V][-n|-r]-Xfilename
crm_mon[-V][-n|-r]-c|-1
crm_mon[-V]-iinterval
crm_mon -?The crm_mon command allows you to monitor your cluster's status and configuration. Its output includes the number of nodes, uname, uuid, status, the resources configured in your cluster, and the current status of each. The output of crm_mon can be displayed at the console or printed into an HTML file. When provided with a cluster configuration file without the status section, crm_mon creates an overview of nodes and resources as specified in the file.
--help, -?
Provide help.
--verbose, -V
Increase the debug output.
--interval seconds,
-i seconds
Determine the update frequency. If -i is not
specified, the default of 15 seconds is assumed.
--group-by-node, -n
Group resources by node.
--inactive, -r
Display inactive resources.
--simple-status, -s
Display the cluster status once as a simple one line output (suitable for nagios).
--one-shot, -1
Display the cluster status once on the console then exit (does not use ncurses).
--as-html filename,
-h filename
Write the cluster's status to the specified file.
--web-cgi, -w
Web mode with output suitable for CGI.
--daemonize, -d
Run in the background as a daemon.
--pid-file filename,
-p filename
Specify the daemon's pid file.
crm_mon
-i. If -i is not
given, the default refresh interval of 15 seconds is assumed:crm_mon -i interval[s]
crm_mon -c
crm_mon -1
crm_mon -n
crm_mon-n-r
crm_mon -h filename
crm_mon as a daemon in the background, specify the
daemon's pid file for easier control of the daemon process, and create
HTML output. This option allows you to constantly create HTML output that
can be easily processed by other monitoring applications:crm_mon-d-pfilename-hfilename
filename), group the
resources by node, and include inactive resources. This command can be
used for dry-runs of a cluster configuration before rolling it out to a
live cluster.crm_mon-r-n-Xfilename