pcp
[Top] [All Lists]

Re: [pcp] Additional substitutions in pmlogger control file

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Additional substitutions in pmlogger control file
From: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu, 15 Oct 2015 13:34:12 -0400
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <284849126.54747458.1444863162465.JavaMail.zimbra@xxxxxxxxxx>
References: <561E8148.1070304@xxxxxxxxxxx> <284849126.54747458.1444863162465.JavaMail.zimbra@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Nathan,

On 10/14/2015 6:52 PM, Nathan Scott wrote:

----- Original Message -----
Hi,
      Is there any interest in supporting other substitutions in the path
component of the pmlogger control file?  Something like the following,
or any other suggestions on how to achieve the same goal? (Obviously the
same change in pmlogger_daily)

Looks good to me.



OK, commit here:

https://github.com/ubccr/pcp/tree/pmlogger_options

Thanks

Martins


commit f121d06f7ee2f8482f7706feef68a804d47c6427
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date:   Thu Oct 15 17:30:52 2015 +0000

    Allow extra parameter expansion in the pmlogger control file

    Add LOCALDAY and LOCALMONTH as additional parameters that can be
    expanded in the directory specification.

 src/pmlogger/control           | 2 ++
 src/pmlogger/pmlogger_check.sh | 6 ++++++
 src/pmlogger/pmlogger_daily.sh | 6 ++++++
 3 files changed, 14 insertions(+)

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