PMDAELASTICSEARCH(1)
π PMDAELASTICSEARCH π
okay bestie, sit down, hydrate, and let me tell you about pmdaelasticsearch β a page from the General Commands Manual, no cap. this is the whole vibe, top to bottom, and yes we're keeping every single detail because that's just how we are π«Ά
β¨ NAME β¨
pmdaelasticsearch β the elasticsearch performance metrics domain agent (aka a PMDA, if you're in the know, iykyk) π
πΈ DESCRIPTION πΈ
so. pmdaelasticsearch is a Performance Metrics Domain Agent (PMDA, bestie, keep up π
) and its whole job β its entire main character arc β is exporting performance metrics from elasticsearch. that's it. that's the gig. iconic behavior honestly β¨
π INSTALLATION π
before any of this works, real talk: this PMDA requires that elasticsearch is running on the local host and is accepting queries on TCP port 9200. no elasticsearch on port 9200, no metrics, no slay. π
to install the elasticsearch PMDA, use the Install script as root:
# cd $PCP_PMDAS_DIR/elasticsearch
# ./Install
and to uninstall, do this as root:
# cd $PCP_PMDAS_DIR/elasticsearch
# ./Remove
now the important part, do not skip this π¨: pmdaelasticsearch is launched by pmcd(1) and should never be executed directly. like, ever. it's not that kind of program. the Install and Remove scripts are the ones that notify pmcd(1) when the agent is installed or removed β they handle the whole communication thing so you don't have to. periodt π
π¦ FILES π¦
$PCP_PMDAS_DIR/elasticsearch/elasticsearch.confβ optional configuration file forpmdaelasticsearch. optional!! so if you don't need it, don't stress πΈ$PCP_PMDAS_DIR/elasticsearch/Installβ the installation script for thepmdaelasticsearchagent$PCP_PMDAS_DIR/elasticsearch/Removeβ the undo installation script for thepmdaelasticsearchagent (the "never mind, take it back" button π)$PCP_LOG_DIR/pmcd/elasticsearch.logβ default log file for error messages frompmdaelasticsearch. when something goes wrong, this is where the tea is β
π PCP ENVIRONMENT π
environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP β think of them as the little name tags everything wears π·οΈ
on each installation, the file /etc/pcp.conf contains the local values for these variables. and the $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). so if you wanna point it somewhere else, you absolutely can, bestie β¨
π SEE ALSO π
PCPIntro(1) and pmcd(1). go read those next, they're the supporting cast and they ate π
and that's the whole page, you're officially educated πβ¨
this has been Performance Co-Pilot, PCP β the PMDAELASTICSEARCH(1) moment, brought to you fresh and forever. stay metrics-obsessed, stay hydrated, and never run the agent directly. mwah ππ¦
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- centos-stream 9: pcp-doc 6.3.7-14.el9 Β· GPL-2.0-or-later AND CC-BY-3.0
- debian trixie: pcp 6.3.8-1
- fedora 43: pcp-doc 7.0.1-1.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.1.0-6.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- ubuntu questing: pcp 6.3.8-1
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2011 Aconex. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms