-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a pretty major update to the build system to detect PCP configuration, as well as export the relevant PMDA registration files. This was all modelled very closely on the realted Qpid PMDA project (https://github.com/pcolby/pcp-pmda-qpid).
- Loading branch information
Showing
10 changed files
with
293 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ pmda-cpp.creator | |
pmda-cpp.creator.user | ||
pmda-cpp.files | ||
pmda-cpp.includes | ||
Install | ||
Remove |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Install the ${PROJECT_NAME} PMDA | ||
|
||
. $PCP_DIR/etc/pcp.env | ||
. $PCP_SHARE_DIR/lib/pmdaproc.sh | ||
|
||
iam=${PROJECT_NAME} | ||
pmns_name=${PROJECT_NAME} | ||
|
||
pmdaSetup | ||
pmdaInstall | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Remove the ${PROJECT_NAME} PMDA | ||
|
||
. $PCP_DIR/etc/pcp.env | ||
. $PCP_SHARE_DIR/lib/pmdaproc.sh | ||
|
||
iam=${PROJECT_NAME} | ||
pmns_name=${PROJECT_NAME} | ||
|
||
pmdaSetup | ||
pmdaRemove | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Install the ${PROJECT_NAME} PMDA | ||
|
||
. $PCP_DIR/etc/pcp.env | ||
. $PCP_SHARE_DIR/lib/pmdaproc.sh | ||
|
||
iam=${PROJECT_NAME} | ||
pmns_name=${PROJECT_NAME} | ||
|
||
pmdaSetup | ||
pmdaInstall | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Remove the ${PROJECT_NAME} PMDA | ||
|
||
. $PCP_DIR/etc/pcp.env | ||
. $PCP_SHARE_DIR/lib/pmdaproc.sh | ||
|
||
iam=${PROJECT_NAME} | ||
pmns_name=${PROJECT_NAME} | ||
|
||
pmdaSetup | ||
pmdaRemove | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Install the ${PROJECT_NAME} PMDA | ||
|
||
. $PCP_DIR/etc/pcp.env | ||
. $PCP_SHARE_DIR/lib/pmdaproc.sh | ||
|
||
iam=${PROJECT_NAME} | ||
pmns_name=${PROJECT_NAME} | ||
|
||
pmdaSetup | ||
pmdaInstall | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Remove the ${PROJECT_NAME} PMDA | ||
|
||
. $PCP_DIR/etc/pcp.env | ||
. $PCP_SHARE_DIR/lib/pmdaproc.sh | ||
|
||
iam=${PROJECT_NAME} | ||
pmns_name=${PROJECT_NAME} | ||
|
||
pmdaSetup | ||
pmdaRemove | ||
exit 0 |