pcp
[Top] [All Lists]

Re: [pcp] zbxpcp: tolerate pmcd restarts

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] zbxpcp: tolerate pmcd restarts
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu, 28 Jan 2016 07:42:09 +0200
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2067193419.15222046.1453943636515.JavaMail.zimbra@xxxxxxxxxx>
Organization: Red Hat
References: <56A89918.5010609@xxxxxxxxxx> <2067193419.15222046.1453943636515.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
Hi,

On 2016-01-28 03:13, Nathan Scott wrote:
> ----- Original Message -----
>>
>> As said earlier [1] it's not possible to start zabbix-agent before pmcd
>> but it's possible for zbxpcp to recover from pmcd restarts with
>> pmReconnectContext(3), so let's do that.
>>
>> 1) http://oss.sgi.com/pipermail/pcp/2016-January/009408.html
>>
>> Update zbxpcp(3) accordingly and make it follow the PCP man page style.
> 
> Looks good.
> 
>>   * TODO
>> + * - reconnection interval support
>>   * - derived metrics support
> 
> This is supported via PMCD_RECONNECT_TIMEOUT (see ENVIRONMENT section of
> PCPIntro(1), near the end) - did you mean here some other way of setting
> that back-off string, I guess?

I forgot PMCD_RECONNECT_TIMEOUT, I think it actually does exactly what I
was thinking.

Thanks,

-- 
Marko Myllynen

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