pcp
[Top] [All Lists]

Re: pmlogger control file

To: kenmcd@xxxxxxx
Subject: Re: pmlogger control file
From: Alan Bailey <abailey@xxxxxxxxxxxxx>
Date: Tue, 31 Oct 2000 15:56:29 -0600 (CST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <Pine.SGI.4.21.0011010839410.179182-100000@rattle.melbourne.sgi.com>
Sender: owner-pcp@xxxxxxxxxxx
Ah!  Thanks for pointing that out.  I should have looked closer at the
sample file, I read the man pages too much ;)

Alan

On Wed, 1 Nov 2000, Ken McDonell wrote:

> On Tue, 31 Oct 2000, Alan Bailey wrote:
> 
> > > Could you please send me your /var/pcp/config/pmlogger/control.cluster
> > > file as an attachment so I can check for whitespace strangeness?
> 
> Whitespace is not the problem, but the version is.
> 
> You need this line in the start of control.cluster
> 
> $version=1.1
> 
> The man page for pmlogger_check(1) fails to mention this, but the
> sample we ship in /var/pcp/config/pmlogger/control includes
> this and the preceding comment ...
> 
>       # DO NOT REMOVE OR EDIT THE FOLLOWING LINE
> 
> Sorry.
> 
> The reasons for this are not quite lost in the mists of antiquity, but
> relate to an earlier version of the control file (long before any open
> source release) that did not include a version number and did not
> include the "socks" field ... for backwards compatibility, the simplest
> solution was
>     - expect a $version line, else no $version line means version 1.0
> 
> I'll fix the man page for the next release.
> 
> ps. Mike Gigante, could you please check this in the PCP_UAG book.
> 

-- 
 Alan Bailey


<Prev in Thread] Current Thread [Next in Thread>