.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. .TH PACEMAKER "8" "November 2020" "Pacemaker 2.0.1" "System Administration Utilities" .SH NAME Pacemaker \- Part of the Pacemaker cluster resource manager .SH SYNOPSIS .B crm_mon \fI\,mode \/\fR[\fI\,options\/\fR] .SH DESCRIPTION crm_mon \- Provides a summary of cluster's current state. .PP Outputs varying levels of detail in a number of different formats. .SH OPTIONS .TP \-?, \fB\-\-help\fR This text .TP \-$, \fB\-\-version\fR Version information .TP \fB\-V\fR, \fB\-\-verbose\fR Increase debug output .TP \fB\-Q\fR, \fB\-\-quiet\fR Display only essential output .SS "Modes (mutually exclusive):" .TP \fB\-h\fR, \fB\-\-as\-html\fR=\fI\,value\/\fR Write cluster status to the named html file .TP \fB\-X\fR, \fB\-\-as\-xml\fR Write cluster status as xml to stdout. This will enable one\-shot mode. .TP \fB\-w\fR, \fB\-\-web\-cgi\fR Web mode with output suitable for CGI (preselected when run as *.cgi) .TP \fB\-s\fR, \fB\-\-simple\-status\fR Display the cluster status once as a simple one line output (suitable for nagios) .SS "Display Options:" .TP \fB\-n\fR, \fB\-\-group\-by\-node\fR Group resources by node .TP \fB\-r\fR, \fB\-\-inactive\fR Display inactive resources .TP \fB\-f\fR, \fB\-\-failcounts\fR Display resource fail counts .TP \fB\-o\fR, \fB\-\-operations\fR Display resource operation history .TP \fB\-t\fR, \fB\-\-timing\-details\fR Display resource operation history with timing details .TP \fB\-c\fR, \fB\-\-tickets\fR Display cluster tickets .TP \fB\-W\fR, \fB\-\-watch\-fencing\fR Listen for fencing events. For use with \fB\-\-external\-agent\fR .TP \fB\-m\fR, \fB\-\-fence\-history\fR[=\fI\,value\/\fR] Show fence history 0=off, 1=failures and pending (default without option), 2=add successes (default without value for option), 3=show full history without reduction to most recent of each flavor .TP \fB\-L\fR, \fB\-\-neg\-locations\fR[=\fI\,value\/\fR] Display negative location constraints [optionally filtered by id prefix] .TP \fB\-A\fR, \fB\-\-show\-node\-attributes\fR Display node attributes .TP \fB\-D\fR, \fB\-\-hide\-headers\fR Hide all headers .TP \fB\-R\fR, \fB\-\-show\-detail\fR Show more details (node IDs, individual clone instances) .TP \fB\-b\fR, \fB\-\-brief\fR Brief output .SS "Additional Options:" .TP \fB\-i\fR, \fB\-\-interval\fR=\fI\,value\/\fR Update frequency in seconds .TP \fB\-1\fR, \fB\-\-one\-shot\fR Display the cluster status once on the console and exit .TP \fB\-N\fR, \fB\-\-disable\-ncurses\fR Disable the use of ncurses .TP \fB\-d\fR, \fB\-\-daemonize\fR Run in the background as a daemon .TP \fB\-p\fR, \fB\-\-pid\-file\fR=\fI\,value\/\fR (Advanced) Daemon pid file location .TP \fB\-E\fR, \fB\-\-external\-agent\fR=\fI\,value\/\fR A program to run when resource operations take place. .HP \fB\-e\fR, \fB\-\-external\-recipient\fR=\fI\,value\/\fR A recipient for your program (assuming you want the program to send something to someone). .SH EXAMPLES Display the cluster status on the console with updates as they occur: .IP # crm_mon .PP Display the cluster status on the console just once then exit: .IP # crm_mon \-1 .PP Display your cluster status, group resources by node, and include inactive resources in the list: .IP # crm_mon \-\-group\-by\-node \-\-inactive .PP Start crm_mon as a background daemon and have it write the cluster status to an HTML file: .IP # crm_mon \-\-daemonize \-\-as\-html /path/to/docroot/filename.html .PP Start crm_mon and export the current cluster status as xml to stdout, then exit.: .IP # crm_mon \-\-as\-xml .SH AUTHOR Written by Andrew Beekhof .SH "REPORTING BUGS" Report bugs to users@clusterlabs.org