1PACEMAKER(8) System Administration Utilities PACEMAKER(8)
2
3
4
6 Pacemaker - Part of the Pacemaker cluster resource manager
7
9 crm_mon mode [options]
10
12 crm_mon - Provides a summary of cluster's current state.
13
14 Outputs varying levels of detail in a number of different formats.
15
17 -?, --help
18 This text
19
20 -$, --version
21 Version information
22
23 -V, --verbose
24 Increase debug output
25
26 -Q, --quiet
27 Display only essential output
28
29 Modes (mutually exclusive):
30 -h, --as-html=value
31 Write cluster status to the named html file
32
33 -X, --as-xml
34 Write cluster status as xml to stdout. This will enable one-shot
35 mode.
36
37 -w, --web-cgi
38 Web mode with output suitable for CGI (preselected when run as
39 *.cgi)
40
41 -s, --simple-status
42 Display the cluster status once as a simple one line output
43 (suitable for nagios)
44
45 Display Options:
46 -n, --group-by-node
47 Group resources by node
48
49 -r, --inactive
50 Display inactive resources
51
52 -f, --failcounts
53 Display resource fail counts
54
55 -o, --operations
56 Display resource operation history
57
58 -t, --timing-details
59 Display resource operation history with timing details
60
61 -c, --tickets
62 Display cluster tickets
63
64 -W, --watch-fencing
65 Listen for fencing events. For use with --external-agent
66
67 -m, --fence-history[=value]
68 Show fence history 0=off, 1=failures and pending (default with‐
69 out option), 2=add successes (default without value for option),
70 3=show full history without reduction to most recent of each
71 flavor
72
73 -L, --neg-locations[=value]
74 Display negative location constraints [optionally filtered by id
75 prefix]
76
77 -A, --show-node-attributes
78 Display node attributes
79
80 -D, --hide-headers
81 Hide all headers
82
83 -R, --show-detail
84 Show more details (node IDs, individual clone instances)
85
86 -b, --brief
87 Brief output
88
89 Additional Options:
90 -i, --interval=value
91 Update frequency in seconds
92
93 -1, --one-shot
94 Display the cluster status once on the console and exit
95
96 -N, --disable-ncurses
97 Disable the use of ncurses
98
99 -d, --daemonize
100 Run in the background as a daemon
101
102 -p, --pid-file=value
103 (Advanced) Daemon pid file location
104
105 -E, --external-agent=value
106 A program to run when resource operations take place.
107
108 -e, --external-recipient=value A recipient for your program (assuming
109 you want the program to send something to someone).
110
112 Display the cluster status on the console with updates as they occur:
113
114 # crm_mon
115
116 Display the cluster status on the console just once then exit:
117
118 # crm_mon -1
119
120 Display your cluster status, group resources by node, and include inac‐
121 tive resources in the list:
122
123 # crm_mon --group-by-node --inactive
124
125 Start crm_mon as a background daemon and have it write the cluster sta‐
126 tus to an HTML file:
127
128 # crm_mon --daemonize --as-html /path/to/docroot/filename.html
129
130 Start crm_mon and export the current cluster status as xml to stdout,
131 then exit.:
132
133 # crm_mon --as-xml
134
136 Written by Andrew Beekhof
137
139 Report bugs to users@clusterlabs.org
140
141
142
143Pacemaker 2.0.2-1.fc31.1 July 2019 PACEMAKER(8)