summaryrefslogtreecommitdiffstats
path: root/ctdb/utils/pmda/root
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-07-13 18:11:23 +0200
committerDavid Disseldorp <ddiss@suse.de>2011-09-06 14:01:18 +0200
commit9699e5750db81fe9cdd25ef24cbe1fbe8a200090 (patch)
tree33f4423ce79241c113054a39f5c74bda10bf3abc /ctdb/utils/pmda/root
parent941ba90126d8cbac78cc52a67fb8c87f5a5a06ae (diff)
downloadsamba-9699e5750db81fe9cdd25ef24cbe1fbe8a200090.tar.gz
samba-9699e5750db81fe9cdd25ef24cbe1fbe8a200090.tar.xz
samba-9699e5750db81fe9cdd25ef24cbe1fbe8a200090.zip
pmda: Initial ctdb pmda check-in
The CTDB Performance Metrics Domain Agent (PMDA) is compiled when Performance Co-Pilot (PCP) header files are present. The CTDB PMDA periodically requests runtime counters from ctdbd (similar to ctdb statistics) and exports these values via PCP for capture and charting etc. (This used to be ctdb commit fe7f69d6fc37661c2f1caa11de4ed3a7940d0a2f)
Diffstat (limited to 'ctdb/utils/pmda/root')
-rw-r--r--ctdb/utils/pmda/root10
1 files changed, 10 insertions, 0 deletions
diff --git a/ctdb/utils/pmda/root b/ctdb/utils/pmda/root
new file mode 100644
index 0000000000..ff036ed7fb
--- /dev/null
+++ b/ctdb/utils/pmda/root
@@ -0,0 +1,10 @@
+/*
+ * fake "root" for validating the local PMNS subtree
+ */
+
+#include <stdpmid>
+
+root { ctdb }
+
+#include "pmns"
+