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