diff options
author | Roman Revyakin <rrevyakin@aconex.com> | 2010-05-13 01:01:02 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 01:01:02 +0200 |
commit | 76b6ea8372f796b06acd5690cfd5a276d40a4fd1 (patch) | |
tree | 6c0c7d3b77dcddbd68cfff86dc899c565abf792e /system/pcp/README.SLACKWARE | |
parent | b00e3b5c0617c687b4ddb17eb501a2edcd7b2221 (diff) | |
download | slackbuilds-76b6ea8372f796b06acd5690cfd5a276d40a4fd1.tar.gz |
system/pcp: Added to 13.0 repository
Diffstat (limited to 'system/pcp/README.SLACKWARE')
-rw-r--r-- | system/pcp/README.SLACKWARE | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/system/pcp/README.SLACKWARE b/system/pcp/README.SLACKWARE new file mode 100644 index 0000000000..03f064c482 --- /dev/null +++ b/system/pcp/README.SLACKWARE @@ -0,0 +1,52 @@ +The init scripts are not prefixed with "rc." (e.g. rc.pcp) due to the fact +that several documentation files and other supporting files used by pcp +expect them without that prefix, and the process of fixing those files is +a bit too maintenance-intensive and error-prone to bother. + +/etc/rc.d/pcp: + starts all the agents and daemons for collecting the info from + various host monitoring + +/etc/rc.d/pmie: + starts all daemons for evaluating the rules based on the exported + PCP metrics (usually for triggering particular events) + +/etc/rc.d/pmproxy: + starts proxy daemon for PCP + +You will need to add the following bits to /etc/rc.d/rc.local and make sure +the relevant init scripts have executable permissions: + + # Start pcp: + if [ -x /etc/rc.d/pcp ]; then + /etc/rc.d/pcp start + fi + + # Start pmie + if [ -x /etc/rc.d/pmie ]; then + /etc/rc.d/pmie start + fi + + # Start pmproxy + if [ -x /etc/rc.d/pmproxy ]; then + /etc/rc.d/pmproxy start + fi + +You will also need to add the following to /etc/rc.d/rc.local_shutdown: + + # Stop pcp: + if [ -x /etc/rc.d/pcp ]; then + /etc/rc.d/pcp stop + fi + + # Stop pmie + if [ -x /etc/rc.d/pmie ]; then + /etc/rc.d/pmie stop + fi + + # Stop pmproxy + if [ -x /etc/rc.d/pmproxy ]; then + /etc/rc.d/pmproxy stop + fi + + |