pcp
[Top] [All Lists]

Re: pmlogger control file

To: Alan Bailey <abailey@xxxxxxxxxxxxx>
Subject: Re: pmlogger control file
From: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Date: Wed, 1 Nov 2000 08:48:48 +1100
Cc: pcp@xxxxxxxxxxx, Mike Gigante <mg@xxxxxxxxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.10.10010311452080.14214-100000@osage.ncsa.uiuc.edu>
Reply-to: kenmcd@xxxxxxx
Sender: owner-pcp@xxxxxxxxxxx
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.


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