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