Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
pcp2graphite - pcmd hostname in prefix under pmmgr #78
Comments
|
This could be accomplished with a small auxiliary shell script invoked by /etc/pcp/pmmgr/monitor
|
|
Sounds like that approach is feasible for you @screentan based on lack of followups? I'll close the issue, please re-open as necessary. |
natoscott
closed this
Mar 10, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
screentan commentedFeb 24, 2016
Now that pcp2graphite is supported under pmmgr we would like to use it to put data directly into graphite or graphite compatible data store. The prefix defaults to "pcp." and though it can be changed via "-m", there does not appear to be a way to automatically change it while using pmmgr. So 100 instances of pcp2graphite would dump the data under "pcp." instead of "pcp.host.". Assuming I didn't miss something I would like to see a change in the way the prefix is handled.
The default should be "pcp." as it is currently. I'm reqeusting that If the "-h " option is used then the prefix should be "pcp..". Another option would be to have some kind of variable expansion within the pmmgr configuration files.