pcp
[Top] [All Lists]

Re: [pcp] zbxpcp: tolerate pmcd restarts

To: Marko Myllynen <myllynen@xxxxxxxxxx>
Subject: Re: [pcp] zbxpcp: tolerate pmcd restarts
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 27 Jan 2016 20:13:56 -0500 (EST)
Cc: pcp developers <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <56A89918.5010609@xxxxxxxxxx>
References: <56A89918.5010609@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: vJr+HHceSviLpoIPWfbyjbmXIBcaAQ==
Thread-topic: zbxpcp: tolerate pmcd restarts

----- Original Message -----
> Hi,
> 
> 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?

cheers.

--
Nathan

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