From 76b6ea8372f796b06acd5690cfd5a276d40a4fd1 Mon Sep 17 00:00:00 2001 From: Roman Revyakin Date: Thu, 13 May 2010 01:01:02 +0200 Subject: system/pcp: Added to 13.0 repository --- system/pcp/README.SLACKWARE | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 system/pcp/README.SLACKWARE (limited to 'system/pcp/README.SLACKWARE') 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 + + -- cgit v1.2.3