Scroll to navigation

PACEMAKER(8) System Administration Utilities PACEMAKER(8)

NAME

Pacemaker - Part of the Pacemaker cluster resource manager

SYNOPSIS

crm_mon mode [options]

DESCRIPTION

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

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

OPTIONS

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

Modes (mutually exclusive):

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)

Display Options:

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, --mail-to and/or --snmp-traps where supported
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

Additional Options:

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).

EXAMPLES

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

AUTHOR

Written by Andrew Beekhof

REPORTING BUGS

Report bugs to users@clusterlabs.org

June 2018 Pacemaker 1.1.18-3.el6