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 Provides a summary of cluster's current state.
13
14 Outputs varying levels of detail in a number of different formats.
15
17 Help Options:
18 -?, --help
19 Show help options
20
21 --help-all
22 Show all help options
23
24 --help-output
25 Show output help
26
27 --help-display
28 Show display options
29
30 --help-additional
31 Show additional options
32
33 --help-deprecated
34 Show deprecated options
35
36 Output Options:
37 --output-as=FORMAT
38 Specify output format as one of: console (default), html, text,
39 xml
40
41 --output-to=DEST
42 Specify file name for output (or "-" for stdout)
43
44 --html-cgi
45 Add CGI headers (requires --output-as=html)
46
47 --html-stylesheet=URI
48 Link to an external stylesheet (requires --output-as=html)
49
50 --html-title=TITLE
51 Specify a page title (requires --output-as=html)
52
53 --text-fancy
54 Use more highly formatted output (requires --output-as=text)
55
56 Display Options:
57 -n, --group-by-node
58 Group resources by node
59
60 -r, --inactive
61 Display inactive resources
62
63 -f, --failcounts
64 Display resource fail counts
65
66 -o, --operations
67 Display resource operation history
68
69 -t, --timing-details
70 Display resource operation history with timing details
71
72 -c, --tickets
73 Display cluster tickets
74
75 -W, --watch-fencing
76 Listen for fencing events. For use with --external-agent
77
78 -m, --fence-history=LEVEL
79 Show fence history: 0=off, 1=failures and pending (default with‐
80 out option), 2=add successes (default without value for option),
81 3=show full history without reduction to most recent of each
82 flavor
83
84 -L, --neg-locations
85 Display negative location constraints [optionally filtered by id
86 prefix]
87
88 -A, --show-node-attributes
89 Display node attributes
90
91 -D, --hide-headers
92 Hide all headers
93
94 -R, --show-detail
95 Show more details (node IDs, individual clone instances)
96
97 -b, --brief
98 Brief output
99
100 -s, --simple-status
101 Display the cluster status once as a simple one line output
102 (suitable for nagios)
103
104 Additional Options:
105 -i, --interval=TIMESPEC
106 Update frequency (default is 5 seconds)
107
108 -1, --one-shot
109 Display the cluster status once on the console and exit
110
111 -d, --daemonize
112 Run in the background as a daemon. Requires at least one of
113 --output-to and --external-agent.
114
115 -p, --pid-file=FILE
116 (Advanced) Daemon pid file location
117
118 -E, --external-agent=FILE
119 A program to run when resource operations take place
120
121 -e, --external-recipient=RCPT
122 A recipient for your program (assuming you want the program to
123 send something to someone).
124
125 Deprecated Options:
126 -h, --as-html=FILE
127 Write cluster status to the named HTML file. Use --out‐
128 put-as=html --output-to=FILE instead.
129
130 -X, --as-xml
131 Write cluster status as XML to stdout. This will enable one-shot
132 mode. Use --output-as=xml instead.
133
134 -N, --disable-ncurses
135 Disable the use of ncurses. Use --output-as=text instead.
136
137 -w, --web-cgi
138 Web mode with output suitable for CGI (preselected when run as
139 *.cgi). Use --output-as=html --html-cgi instead.
140
141 Application Options:
142 -$, --version
143 Display software version and exit
144
145 -V, --verbose
146 Increase debug output (may be specified multiple times)
147
148 -Q, --quiet
149 Be less descriptive in output.
150
152 If this program is called as crm_mon.cgi, --output-as=html --html-cgi
153 will automatically be added to the command line arguments.
154
156 The TIMESPEC in any command line option can be specified in many dif‐
157 ferent formats. It can be just an integer number of seconds, a number
158 plus units (ms/msec/us/usec/s/sec/m/min/h/hr), or an ISO 8601 period
159 specification.
160
162 Display the cluster status on the console with updates as they occur:
163
164 crm_mon
165
166 Display the cluster status on the console just once then exit:
167
168 crm_mon -1
169
170 Display your cluster status, group resources by node, and include inac‐
171 tive resources in the list:
172
173 crm_mon --group-by-node --inactive
174
175 Start crm_mon as a background daemon and have it write the cluster sta‐
176 tus to an HTML file:
177
178 crm_mon --daemonize --output-as html --output-to /path/to/doc‐
179 root/filename.html
180
181 Start crm_mon and export the current cluster status as XML to stdout,
182 then exit:
183
184 crm_mon --output-as xml
185
187 Written by Andrew Beekhof
188
189
190
191Pacemaker 2.0.3-1.fc32 November 2019 PACEMAKER(8)