DOKK / manpages / debian 10 / pacemaker-cli-utils / crm_mon.8.en
PACEMAKER(8) System Administration Utilities PACEMAKER(8)

Pacemaker - Part of the Pacemaker cluster resource manager

crm_mon mode [options]

crm_mon - Provides a summary of cluster's current state.

Outputs varying levels of detail in a number of different formats.

-?, --help
This text
-$, --version
Version information
Increase debug output
Display only essential output

Write cluster status to the named html file
Write cluster status as xml to stdout. This will enable one-shot mode.
Web mode with output suitable for CGI (preselected when run as *.cgi)
Display the cluster status once as a simple one line output (suitable for nagios)

Group resources by node
Display inactive resources
Display resource fail counts
Display resource operation history
Display resource operation history with timing details
Display cluster tickets
Listen for fencing events. For use with --external-agent
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
Display negative location constraints [optionally filtered by id prefix]
Display node attributes
Hide all headers
Show more details (node IDs, individual clone instances)
Brief output

Update frequency in seconds
-1, --one-shot
Display the cluster status once on the console and exit
Disable the use of ncurses
Run in the background as a daemon
(Advanced) Daemon pid file location
A program to run when resource operations take place.

-e, --external-recipient=value A recipient for your program (assuming you want the program to send something to someone).

Display the cluster status on the console with updates as they occur:

# crm_mon

Display the cluster status on the console just once then exit:

# crm_mon -1

Display your cluster status, group resources by node, and include inactive resources in the list:

# crm_mon --group-by-node --inactive

Start crm_mon as a background daemon and have it write the cluster status to an HTML file:

# crm_mon --daemonize --as-html /path/to/docroot/filename.html

Start crm_mon and export the current cluster status as xml to stdout, then exit.:

# crm_mon --as-xml

Written by Andrew Beekhof

Report bugs to users@clusterlabs.org

August 2022 Pacemaker 2.0.1