| 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, see <https://www.gnu.org/licenses/>. |
| 19 |
*/ |
| 20 |
|
| 21 |
ctdb { |
| 22 |
num_clients CTDB:0:0 |
| 23 |
frozen CTDB:0:1 |
| 24 |
recovering CTDB:0:2 |
| 25 |
client_packets_sent CTDB:0:3 |
| 26 |
client_packets_recv CTDB:0:4 |
| 27 |
node_packets_sent CTDB:0:5 |
| 28 |
node_packets_recv CTDB:0:6 |
| 29 |
keepalive_packets_sent CTDB:0:7 |
| 30 |
keepalive_packets_recv CTDB:0:8 |
| 31 |
node |
| 32 |
client |
| 33 |
timeouts |
| 34 |
total_calls CTDB:0:9 |
| 35 |
pending_calls CTDB:0:10 |
| 36 |
lockwait_calls CTDB:0:11 |
| 37 |
pending_lockwait_calls CTDB:0:12 |
| 38 |
childwrite_calls CTDB:0:13 |
| 39 |
pending_childwrite_calls CTDB:0:14 |
| 40 |
memory_used CTDB:0:15 |
| 41 |
max_hop_count CTDB:0:16 |
| 42 |
max_reclock_ctdbd CTDB:0:17 |
| 43 |
max_reclock_recd CTDB:0:18 |
| 44 |
max_call_latency CTDB:0:19 |
| 45 |
max_lockwait_latency CTDB:0:20 |
| 46 |
max_childwrite_latency CTDB:0:21 |
| 47 |
num_recoveries CTDB:0:22 |
| 48 |
} |
| 49 |
|
| 50 |
ctdb.node { |
| 51 |
req_call CTDB:1:0 |
| 52 |
reply_call CTDB:1:1 |
| 53 |
req_dmaster CTDB:1:2 |
| 54 |
reply_dmaster CTDB:1:3 |
| 55 |
reply_error CTDB:1:4 |
| 56 |
req_message CTDB:1:5 |
| 57 |
req_control CTDB:1:6 |
| 58 |
reply_control CTDB:1:7 |
| 59 |
} |
| 60 |
|
| 61 |
ctdb.client { |
| 62 |
req_call CTDB:2:0 |
| 63 |
req_message CTDB:2:1 |
| 64 |
req_control CTDB:2:2 |
| 65 |
} |
| 66 |
|
| 67 |
ctdb.timeouts { |
| 68 |
call CTDB:3:0 |
| 69 |
control CTDB:3:1 |
| 70 |
traverse CTDB:3:2 |
| 71 |
} |
| 72 |
|