Hi Ken,
----- Original Message -----
> Interesting ones are in the first few commits below ... pmcpp replaces
> cpp, so no more run-time dependencies on having a C compiler toolchain
> installed for basic PCP operation.
Thats awesome, thanks! I hit a snag with it though ... did a (re)Install
of the logger PMDA and saw:
nathans@verge:/var/lib/pcp/pmdas/logger$ sudo ./Install
You will need to choose an appropriate configuration for installation of
the "logger" Performance Metrics Domain Agent (PMDA).
collector collect performance statistics on this system
monitor allow this system to monitor local and/or remote systems
both collector and monitor configuration for this system
Please enter c(ollector) or m(onitor) or b(oth) [b]
Extracting options from current installation ...
Possible configuration files to choose from:
[1] /var/lib/pcp/config/logger/logger.conf
[2] Specify your own configuration file.
[3] None of the above (abandon configuration file selection).
Which configuration file do you want to use ? [1]
Contents of the selected configuration file:
--------------- start /var/lib/pcp/config/logger/logger.conf ---------------
applog y /var/log/pcp/rsyslog/applog
syslog y /var/log/pcp/rsyslog/syslog
--------------- end /var/lib/pcp/config/logger/logger.conf ---------------
Use this configuration file? [y]
pmcpp: domain.h[4]: #define LOGGER 106
pmcpp: Error: Macro redefinition
Error Parsing ASCII PMNS: pmcpp returned non-zero exit status
newhelp: pmLoadNameSpace: Problems parsing PMNS definitions
Updating the Performance Metrics Name Space (PMNS) ...
Compiled PMNS contains
277 hash table entries
1192 leaf nodes
179 non-leaf nodes
11952 bytes of symbol table
Terminate PMDA if already installed ...
Updating the PMCD control file, and notifying PMCD ...
Check logger metrics have appeared ... 3 warnings, 18 metrics and 15 values
nathans@verge:/var/lib/pcp/pmdas/logger$
Strange - does cpp silently ignore a define if it maps to the same
value, perhaps? (both domain.h and stdpmid map "LOGGER" to 106).
cheers.
--
Nathan
|