1 | /*
|
---|
2 | * Metrics for CTDB PMDA
|
---|
3 | *
|
---|
4 | * Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
|
---|
5 | * Copyright (c) 2011 David Disseldorp
|
---|
6 | *
|
---|
7 | * This program is free software; you can redistribute it and/or modify it
|
---|
8 | * under the terms of the GNU General Public License as published by the
|
---|
9 | * Free Software Foundation; either version 2 of the License, or (at your
|
---|
10 | * option) any later version.
|
---|
11 | *
|
---|
12 | * This program is distributed in the hope that it will be useful, but
|
---|
13 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
---|
14 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
---|
15 | * for more details.
|
---|
16 | *
|
---|
17 | * You should have received a copy of the GNU General Public License along
|
---|
18 | * with this program; if not, write to the Free Software Foundation, Inc.,
|
---|
19 | * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
20 | */
|
---|
21 |
|
---|
22 | ctdb {
|
---|
23 | num_clients CTDB:0:0
|
---|
24 | frozen CTDB:0:1
|
---|
25 | recovering CTDB:0:2
|
---|
26 | client_packets_sent CTDB:0:3
|
---|
27 | client_packets_recv CTDB:0:4
|
---|
28 | node_packets_sent CTDB:0:5
|
---|
29 | node_packets_recv CTDB:0:6
|
---|
30 | keepalive_packets_sent CTDB:0:7
|
---|
31 | keepalive_packets_recv CTDB:0:8
|
---|
32 | node
|
---|
33 | client
|
---|
34 | timeouts
|
---|
35 | total_calls CTDB:0:9
|
---|
36 | pending_calls CTDB:0:10
|
---|
37 | lockwait_calls CTDB:0:11
|
---|
38 | pending_lockwait_calls CTDB:0:12
|
---|
39 | childwrite_calls CTDB:0:13
|
---|
40 | pending_childwrite_calls CTDB:0:14
|
---|
41 | memory_used CTDB:0:15
|
---|
42 | max_hop_count CTDB:0:16
|
---|
43 | max_reclock_ctdbd CTDB:0:17
|
---|
44 | max_reclock_recd CTDB:0:18
|
---|
45 | max_call_latency CTDB:0:19
|
---|
46 | max_lockwait_latency CTDB:0:20
|
---|
47 | max_childwrite_latency CTDB:0:21
|
---|
48 | num_recoveries CTDB:0:22
|
---|
49 | }
|
---|
50 |
|
---|
51 | ctdb.node {
|
---|
52 | req_call CTDB:1:0
|
---|
53 | reply_call CTDB:1:1
|
---|
54 | req_dmaster CTDB:1:2
|
---|
55 | reply_dmaster CTDB:1:3
|
---|
56 | reply_error CTDB:1:4
|
---|
57 | req_message CTDB:1:5
|
---|
58 | req_control CTDB:1:6
|
---|
59 | reply_control CTDB:1:7
|
---|
60 | }
|
---|
61 |
|
---|
62 | ctdb.client {
|
---|
63 | req_call CTDB:2:0
|
---|
64 | req_message CTDB:2:1
|
---|
65 | req_control CTDB:2:2
|
---|
66 | }
|
---|
67 |
|
---|
68 | ctdb.timeouts {
|
---|
69 | call CTDB:3:0
|
---|
70 | control CTDB:3:1
|
---|
71 | traverse CTDB:3:2
|
---|
72 | }
|
---|
73 |
|
---|