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 -L, --neg-locations[=value]
68 Display negative location constraints [optionally filtered by id
69 prefix]
70
71 -A, --show-node-attributes
72 Display node attributes
73
74 -D, --hide-headers
75 Hide all headers
76
77 -R, --show-detail
78 Show more details (node IDs, individual clone instances)
79
80 -b, --brief
81 Brief output
82
83 Additional Options:
84 -i, --interval=value
85 Update frequency in seconds
86
87 -1, --one-shot
88 Display the cluster status once on the console and exit
89
90 -N, --disable-ncurses
91 Disable the use of ncurses
92
93 -d, --daemonize
94 Run in the background as a daemon
95
96 -p, --pid-file=value
97 (Advanced) Daemon pid file location
98
99 -E, --external-agent=value
100 A program to run when resource operations take place.
101
102 -e, --external-recipient=value A recipient for your program (assuming
103 you want the program to send something to someone).
104
106 Display the cluster status on the console with updates as they occur:
107
108 # crm_mon
109
110 Display the cluster status on the console just once then exit:
111
112 # crm_mon -1
113
114 Display your cluster status, group resources by node, and include inac‐
115 tive resources in the list:
116
117 # crm_mon --group-by-node --inactive
118
119 Start crm_mon as a background daemon and have it write the cluster sta‐
120 tus to an HTML file:
121
122 # crm_mon --daemonize --as-html /path/to/docroot/filename.html
123
124 Start crm_mon and export the current cluster status as xml to stdout,
125 then exit.:
126
127 # crm_mon --as-xml
128
130 Written by Andrew Beekhof
131
133 Report bugs to users@clusterlabs.org
134
135
136
137Pacemaker 2.0.0-5.fc29 April 2019 PACEMAKER(8)