[control:1] host="#" primary="" socks="" dir="" args="" [control:2] host="#" primary="PCP" socks="archive" dir="logging" args="configuration/control" [control:3] host="#" primary="" socks="" dir="" args="" [control:4] host="#" primary="This" socks="file" dir="is" args="used by various of the PCP archive logging administrative" [control:5] host="#" primary="tools" socks="to" dir="perform" args="maintenance on the pmlogger instances running on" [control:6] host="#" primary="the" socks="local" dir="host." args="" [control:7] host="#" primary="" socks="" dir="" args="" [control:8] host="#" primary="This" socks="file" dir="contains" args="one line per host to be logged, fields are" [control:9] host="#" primary="Host" socks="name" dir="of" args="host to be logged" [control:10] host="#" primary="P(rimary)" socks="is" dir="this" args="the primary logger? y or n" [control:11] host="#" primary="S(ocks)" socks="should" dir="this" args="logger be launched with pmsocks? y or n" [control:12] host="#" primary="Directory" socks="full" dir="pathname" args="to directory where archive logs are" [control:13] host="#" primary="to" socks="be" dir="maintained" args="... note all scripts "cd" to here as" [control:14] host="#" primary="a" socks="first" dir="step" args="" [control:15] host="#" primary="Args" socks="optional" dir="additional" args="arguments to pmlogger and/or pmnewlog" [control:16] host="#" primary="" socks="" dir="" args="" [control:17] host="" primary="" socks="" dir="" args="" [control:18] host="#" primary="===" socks="VARIABLE" dir="ASSIGNMENTS" args="===" [control:19] host="#" primary="" socks="" dir="" args="" [control:20] host="#" primary="DO" socks="NOT" dir="REMOVE" args="OR EDIT THE FOLLOWING LINE" [control:21] host="$version=1.1" primary="" socks="" dir="" args="" [control:22] host="" primary="" socks="" dir="" args="" [control:23] host="#" primary="if" socks="pmsocks" dir="is" args="being used, edit the IP address for $SOCKS_SERVER and" [control:24] host="#" primary="uncomment" socks="the" dir="next" args="line" [control:25] host="#$SOCKS_SERVER=123.456.789.123" primary="" socks="" dir="" args="" [control:26] host="" primary="" socks="" dir="" args="" [control:27] host="#" primary="if" socks="remote" dir="loggers" args="are run over a WAN with potentially long delays," [control:28] host="#" primary="adjust" socks="the" dir="following" args="and uncomment" [control:29] host="$PMCD_CONNECT_TIMEOUT=20" primary="" socks="" dir="" args="" [control:30] host="$PMCD_REQUEST_TIMEOUT=15" primary="" socks="" dir="" args="" [control:31] host="" primary="" socks="" dir="" args="" [control:32] host="#" primary="===" socks="LOGGER" dir="CONTROL" args="SPECIFICATIONS ===" [control:33] host="#" primary="" socks="" dir="" args="" [control:34] host="#Host" primary="P?" socks="S?" dir="directory" args="args" [control:35] host="" primary="" socks="" dir="" args="" [control:36] host="#" primary="local" socks="primary" dir="logger" args="" [control:37] host="#monitor" primary="y" socks="n" dir="/var/log/pcp/pmlogger/monitor" args="-c config.default" [control:38] host="" primary="" socks="" dir="" args="" [control:39] host="#" primary="Note:" socks="if" dir="multiple" args="pmloggers for the same host (e.g. both primary and" [control:40] host="#" primary="non-primary" socks="loggers" dir="are" args="active), then they MUST use different" [control:41] host="#" primary="directories" socks="" dir="" args="" [control:42] host="" primary="" socks="" dir="" args="" [control:43] host="#" primary="local" socks="non-primary" dir="logger" args="" [control:44] host="#monitor" primary="n" socks="n" dir="/var/log/pcp/pmlogger/mysummary" args="-c config.Summary" [control:45] host="" primary="" socks="" dir="" args="" [control:46] host="#" primary="remote" socks="host" dir="" args="" [control:47] host="#remote" primary="n" socks="n" dir="/var/log/pcp/pmlogger/remote" args="-c ./config.remote" [control:48] host="corona-int.m4u.com.au" primary="n" socks="n" dir="/var/log/pcp/pmlogger/corona" args="-c ./config.dbmaster.detailed" Check pmlogger -h corona-int.m4u.com.au ... in /var/log/pcp/pmlogger/corona ... === daily maintenance of PCP archives for host corona-int.m4u.com.au === ... try /var/lib/pcp/tmp/pmlogger/26106: match=2 pmlogger process 26106 identified, OK Looking for pmlogger (process 26106) ... found pcp 26106 1 0 06:12 ? 00:00:09 pmlogger -m pmlogger_daily -l pmlogger.log -h corona-int.m4u.com.au -c /etc/pcp/pmlogger/./config.dbmaster.detailed 20130624.06.12 Getting logged host name from pmlogger (process 26106) ... done Terminating pmlogger (process 26106) ... SIGUSR1 ... SIGTERM ... done Launching new pmlogger in directory "/var/log/pcp/pmlogger/corona" as ... pmlogger -m pmlogger_daily -l pmlogger.log -h corona-int.m4u.com.au -c /etc/pcp/pmlogger/./config.dbmaster.detailed 20130624.08.52 Waiting for new pmlogger to start ... done New pmlogger status ... pmlogger [27327] on host monitor.toc is logging metrics from host corona-int.m4u.com.au PMCD host corona-int.m4u.com.au log started Mon Jun 24 08:54:20 2013 (times in local time) last log entry Mon Jun 24 08:54:20 2013 current time Mon Jun 24 08:52:58 2013 log volume 0 log size 2412 Rewriting input archives using /var/lib/pcp/config/pmlogrewrite Input archive 20130622.14.27 ... Log Label (Log Format Version 2) Performance metrics from host corona-int.m4u.com.au commencing Sat Jun 22 14:29:27.141 2013 ending Sat Jun 22 14:30:27.144 2013 Archive timezone: EST-10 PID for pmlogger: 6014 Input archive 20130622.14.27-00 ... Log Label (Log Format Version 2) Performance metrics from host corona-int.m4u.com.au commencing Sat Jun 22 14:28:42.462 2013 ending Sat Jun 22 14:29:22.459 2013 Archive timezone: EST-10 PID for pmlogger: 2308 Input archive 20130622.14.28 ... Log Label (Log Format Version 2) Performance metrics from host corona-int.m4u.com.au commencing Sat Jun 22 14:30:30.457 2013 ending Sat Jun 22 15:13:50.637 2013 Archive timezone: EST-10 PID for pmlogger: 10563 Input archive 20130622.15.12 ... Log Label (Log Format Version 2) Performance metrics from host corona-int.m4u.com.au commencing Sat Jun 22 15:14:07.111 2013 ending Sat Jun 22 15:17:27.112 2013 Archive timezone: EST-10 PID for pmlogger: 11011 Input archive 20130622.15.16 ... Log Label (Log Format Version 2) Performance metrics from host corona-int.m4u.com.au commencing Sat Jun 22 15:17:42.916 2013 ending Sun Jun 23 07:56:22.874 2013 Archive timezone: EST-10 PID for pmlogger: 11308 Input archives to be merged: 20130622.14.27 20130622.14.27-00 20130622.14.28 20130622.15.12 20130622.15.16 /usr/libexec/pcp/bin/pmlogger_merge: line 253: 27438 Killed $cmd pmlogger_merge: Directory: /var/log/pcp/pmlogger/corona pmlogger_merge: Failed: pmlogextract 20130622.14.27 20130622.14.27-00 20130622.14.28 20130622.15.12 20130622.15.16 20130622 pmlogger_merge: Trying to continue, although output archive may be corrupted. Output archive files: -rw-r--r-- 1 root root 0 Jun 24 08:55 20130622.meta -rw-r--r-- 1 root root 0 Jun 24 08:55 20130622.index -rw-r--r-- 1 root root 0 Jun 24 08:55 20130622.0 Merged output archive 20130622 ... pmdumplog: Cannot open archive "20130622": Empty archive log file pmlogger_daily: Warning: output archive (20130623) already exists [/etc/pcp/pmlogger/control:48] ... skip log merging, culling and compressing for host "corona-int.m4u.com.au" Skip culling and compression ... [control:49] host="" primary="" socks="" dir="" args="" [control:50] host="#" primary="thru" socks="the" dir="firewall" args="via socks" [control:51] host="#distant" primary="n" socks="y" dir="/var/log/pcp/pmlogger/distant" args="-c ./config.distant"