pmlogger scripts: move zeroconf definitions to read-only location#1466
pmlogger scripts: move zeroconf definitions to read-only location#1466natoscott wants to merge 1 commit intoperformancecopilot:mainfrom
Conversation
|
Just a note - some user wants everything in pcp-zeroconf, EXCEPT they want to change PMLOGGER_INTERVAL? e.g. in the integration lab where they have -t 3s because 10s was not frequent enough. I guess they'll just have to edit the control file to and add -t3 to override .. that's three different files in three different directories (not counting the config file itself), specifying the default interval. |
Then zeroconf is not for them - its zeroconf for good reason. Also, if they've given "-t 3s" in the control files (i.e. pmlogger command line), they're already overriding whatever zeroconf would set. |
Follow up on suggestion in performancecopilot#1462 and relocate the zeroconf primary logger default sampling interval setting to a read-only location. This file does not belong in any user-configurable location - the clue is in the name '*zero*conf' - it's not *some*conf. ;-) This is a more FHS-compliant location for this file and makes it very, very clear this is not a file that should ever be edited.
0c09c01 to
98f9e13
Compare
|
there are ~ 2 dozen other files in the pcp-zeroconf package installed below /etc or /var. Some of them even marked as config files .. bit of a can of worms here |
|
There's no new issue there - pmlogconf and pmieconf are using historical locations - there's no alternative (yet) that zeroconf could use. In both of those cases, /usr/share would be a more correct location however, and we should plan a transition in due course. |
|
Merged. |
Follow up on suggestion in #1462 and relocate the zeroconf primary
logger default sampling interval setting to a read-only location.
This file does not belong in any user-configurable location - the
clue is in the name 'zeroconf' - it's not someconf. ;-) This
is a more FHS-compliant location for this file and makes it very,
very clear this is not a file that should ever be edited.