PMDAROOMTEMP(1)

✨ NAME ✨

pmdaroomtemp β€” the room temperature performance metrics domain agent, aka a PMDA πŸ’–


🌑️ SYNOPSIS 🌑️

$PCP_PMDAS_DIR/roomtemp/pmdaroomtemp [-D debug] [-d domain] [-l logfile]

🫢 DESCRIPTION 🫢

okay bestie so pmdaroomtemp is a Performance Metrics Domain Agent (PMDA), and what it does is literally export the temperature from one or more sensors β€” the kind built using the DS2480 and DS1280 chipsets and MicroLAN technology from Dallas Semiconductor Corporation. no cap, that's the whole gig 🌸

The roomtemp PMDA exports metrics that reflect the temperatures from one or more of these devices, in both degrees Celsius AND Fahrenheit. every metric has one instance for each temperature sensor device. and the external instance identifiers? those are the serial numbers (in hex) of the DS1280 chips discovered when the MicroLAN was probed. iconic behavior honestly πŸ’…

Here's a lil rundown of the pmdaroomtemp command line options, short and sweet:

  • -d β€” It is absolutely crucial that the performance metrics domain number you specify here is unique and consistent. like, that's the whole vibe. that means domain should be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts. do not play with this one πŸ™ˆ
  • -l β€” Location of the log file. by default, a log file named roomtemp.log is written in the current directory of pmcd(1) when pmdaroomtemp is started, i.e. $PCP_LOG_DIR/pmcd. and if the log file cannot be created or is not writable, output gets written to the standard error instead. slay, it has a fallback πŸ’–

πŸŽ€ INSTALLATION πŸŽ€

If you want access to the names, help text and values for the roomtemp performance metrics, do the following as root:

# cd $PCP_PMDAS_DIR/roomtemp
# ./Install

If you want to undo the installation, do the following as root:

# cd $PCP_PMDAS_DIR/roomtemp
# ./Remove

pmdaroomtemp is launched by pmcd(1) and should never be executed directly. the Install and Remove scripts notify pmcd(1) when the agent is installed or removed, so they handle the gossip for you 🫢


πŸ¦‹ FILES πŸ¦‹

  • $PCP_PMCDCONF_PATH β€” command line options used to launch pmdaroomtemp
  • $PCP_PMDAS_DIR/roomtemp/help β€” default help text file for the roomtemp metrics
  • $PCP_PMDAS_DIR/roomtemp/Install β€” installation script for the pmdaroomtemp agent
  • $PCP_PMDAS_DIR/roomtemp/Remove β€” undo installation script for the pmdaroomtemp agent
  • $PCP_LOG_DIR/pmcd/roomtemp.log β€” default log file for error messages and other information from pmdaroomtemp

🌈 PCP ENVIRONMENT 🌈

Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. 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). iykyk ✨


🧚 DEBUGGING OPTIONS 🧚

The -D or --debug option enables the output of additional diagnostics on stderr to help triage problems, although ngl the information is sometimes cryptic and primarily intended to provide guidance for developers rather than end-users πŸ™ˆ. debug is a comma separated list of debugging options; use pmdbg(1) with the -l option to obtain a list of the available debugging options and their meaning. go get that list bestie πŸ“‹


πŸ‘‘ SEE ALSO πŸ‘‘

PCPIntro(1), pmcd(1), pcp.conf(5) and pcp.env(5).


ok that's the whole page fr fr. this cutie comes to you from Performance Co-Pilot (that's the PCP on the tin πŸ’–), and that's a wrap, mwah πŸ’…βœ¨
πŸ“¦ where this page comes from