PMDASNMP(1)
π PMDASNMP β the SNMP-to-PCP gateway, bestie edition π
okay so this is pmdasnmp(1), straight out of the Performance Co-Pilot manual, and I'm gonna explain it to you like we're texting at 1am π¦
β¨ NAME β¨
pmdasnmp β literally a gateway from SNMP to PCP, and it's a PMDA (a Performance Metrics Domain Agent, iykyk) π
πΈ DESCRIPTION πΈ
So pmdasnmp is a Performance Metrics Domain Agent (PMDA, iconic acronym, no cap). What does it actually do? It's a generic gateway β it takes the PCP queries coming in from a PCP client and turns them into SNMP queries going out to one or more SNMP agents. That's the whole vibe. PCP in, SNMP out, bestie, it's giving translator π«Ά
π INSTALLATION π
Want access to the SNMP gateway performance metrics? Then do this as root, bestie β root, not your regular little user account:
# cd $PCP_PMDAS_DIR/snmp
# ./Install
Changed your mind and wanna undo the whole thing? Also as root:
# cd $PCP_PMDAS_DIR/snmp
# ./Remove
Now the important part, and I need you to actually read this one π₯ β pmdasnmp gets launched by pmcd(1) and should never be executed directly. Like, never ever. The Install and Remove scripts are the ones that go tell pmcd(1) that the agent got installed or removed, so it handles all that for you. Let the scripts cook π
β CONFIGURATION β
TODO: define config file format here - map/set/host/... etc
That's it. That's the section. It's a TODO, the config file format is not defined here yet, so don't come for me, I'm just the messenger π
π¦ FILES π¦
$PCP_PMDAS_DIR/snmp/snmp.confβ optional configuration file forpmdasnmp. Optional!! It's optional, so you can but you don't have to β¨$PCP_PMDAS_DIR/snmp/Installβ the installation script for thepmdasnmpagent$PCP_PMDAS_DIR/snmp/Removeβ the undo-installation script for thepmdasnmpagent$PCP_LOG_DIR/pmcd/snmp.logβ the default log file where all the error messages andwarn()messages frompmdasnmpland. So when something's wrong, this is where you go snooping π
π SEE ALSO π
pmcd(1) and SNMP π
also, and I'm quoting this verbatim because it's literally just sitting there in the manpage like a little easter egg:
+ok+ foo
I have no notes. It lives there now. π
k bye, that's the whole page β this was Performance Co-Pilot version 7.2.2, PMDASNMP(1), mwah ππ
β¨
π¦ where this page comes from
- 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.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms