summaryrefslogtreecommitdiffstats
path: root/ctdb/utils/pmda
Commit message (Collapse)AuthorAgeFilesLines
* ctdb: Rename ctdb socket variable from CTDB_PATH to CTDB_SOCKETAmitay Isaacs2014-10-281-1/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* ctdb-build: Remove autoconf build filesAmitay Isaacs2014-06-201-32/+0
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
* ctdb-pmda: Do not hardcode include pathsAmitay Isaacs2014-05-291-4/+4
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
* ctdb/pmda: Fix metric identifiersDavid Disseldorp2014-03-221-123/+141
| | | | | | | | | | | | | | | The commit "pmda: Use upstream assigned PCP domain id" updated the Performance Metrics Namespace (pmns) file, without changing the corresponding metric identifiers used by the agent. This change fixes the agent metric identifier values to match the pmns definitions. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Mar 22 00:07:31 CET 2014 on sn-devel-104
* build: Separate autoconf macros for pmdaMartin Schwenke2013-05-281-0/+32
| | | | | | | | | | The pmda stuff is no longer built by default even if the headers are available. To build, run "configure --enable-pmda". Signed-off-by: Martin Schwenke <martin@meltin.net> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 194f7a0dec26d693a5f3e6734b1c82f61f8e4d19)
* pmda: handle new ctdb_statistics formatDavid Disseldorp2013-05-261-7/+7
| | | | | | | | | | The ctdb_statistics structure was recently changed. Update the PMDA to dereference the new structure member names. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> (This used to be ctdb commit e5a5ab53173d9aa4190ddf68c4ae316d4473eb56)
* Remove explicit include of lib/tevent/tevent.h.Amitay Isaacs2012-04-131-1/+0
| | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 0681014ca5ed2a9b56f63fdace7f894beccf8a9a)
* pmda: Use upstream assigned PCP domain idDavid Disseldorp2011-09-142-37/+37
| | | | | | Also use saner PMIDs in the pmns file. (This used to be ctdb commit dcf150f8165316fefd53f9eecb1437195e631da6)
* pmda: handle struct latency_counter and add num_recoveriesDavid Disseldorp2011-09-063-7/+18
| | | | | | | | | Rebase the CTDB PMDA from 1.0.114 to master: - Add tevent and ctdb_protocol includes - Handle latency metrics now stored under struct latency_counter - Add new metric for the num_recoveries counter (This used to be ctdb commit 2165a6f5117a71f9f97f46be9708fa34c037e17c)
* pmda: document in README how to add a new metricDavid Disseldorp2011-09-061-1/+21
| | | | (This used to be ctdb commit b63333fb81aadc451df47c0c3c038e6165f0eac2)
* pmda: Use CTDB_PATH macro for default socket pathDavid Disseldorp2011-09-061-24/+30
| | | | | | Also includes some code cleanup changes. (This used to be ctdb commit 80ad2979804f5bba29020ace46e114a45fa6cb66)
* pmda: Pull ctdb statistics once per fetchDavid Disseldorp2011-09-061-69/+73
| | | | | | | | | Currently ctdb statistics are pulled in the PMDA fetch callback, which results in a CTDB_CONTROL_STATISTICS call for each metric. Do this once per fetch instead, and have the per-metric callbacks pull data from the last counter cache. (This used to be ctdb commit 137b498c75c55c966999cd788f12ed9010cfed3a)
* pmda: Attempt reconnects while ctdbd is unavailableDavid Disseldorp2011-09-061-50/+141
| | | | | | | | | Attempt to reconnect to ctdbd on fetch while it is unreachable. We must provide our own queue callback wrapper, as ctdb_client_read_cb() exits on transport failure. (This used to be ctdb commit 28df6fbf1273b8d095a2bc38dca6a6c35c5c31bd)
* pmda: Initial ctdb pmda check-inDavid Disseldorp2011-09-068-0/+821
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)