pcp
[Top] [All Lists]

Re: [pcp] Using PCP and Zabbix

To: Marko Myllynen <myllynen@xxxxxxxxxx>
Subject: Re: [pcp] Using PCP and Zabbix
From: Trey Dockendorf <treydock@xxxxxxxx>
Date: Wed, 27 Jan 2016 10:37:44 -0600
Cc: Nathan Scott <nathans@xxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tamu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZPM9C049cbYUERz9699fVqVwoQiCAsQJJvBvWLD+tFA=; b=uoCqvY+YxCLmkT0V7W04CG4Sfsjos75IJDU4y4qGm7j8z6QZe53S6qt8KbNx4uqRhv Z4bNPxa+xB1xXp28UY3d8x5DBcFF+FHN0ETULw839UPyCFuHGES6ffnfWMPBXI1EGPQA X5RBStPv51wZIpY485I7oFJJhueX/LrY8ztGX4LuJ8Xw4qz6SKUyJhlUnhCWJ5KWlTFk dXc83nPQDGMaJvgqn0Ykt8fzLeYzprSkq6UKQRicBYxI83lisfjb+zHjPYi2m+DljlIO 4tBqEi4AXYK+t6Yy/YE7QAaF5SIKjJwsyXFng5JULwsqXM+MmdmlPgIe4b4udKUTMFGX zFfQ==
In-reply-to: <56A8796E.6010907@xxxxxxxxxx>
References: <CAJ=TzikkukNBRTZggzuu20cK-wXAfY5-vAPHgVbjsywpkM0vBQ@xxxxxxxxxxxxxx> <631743597.14867535.1453854667463.JavaMail.zimbra@xxxxxxxxxx> <56A8796E.6010907@xxxxxxxxxx>
Marko,

Thanks for the information.

The good news is that now after looking into think I think we can use
pmReconnectContext(3) to recover from pmcd(1) restarts later on, I'll
test a bit and send a patch later today or tomorrow.


This will greatly help simplify things as I currently manage both Zabbix and PCP with Puppet and was going to end up having to put something like Service['pmcd']~>Service['zabbix-agent'] which would restart zabbix-agent anytime pmcd restarts (in theory).
Â
Wrt the solution for starting up the services in the right order, I was
doing more or less the same as Trey (I had zabbix-agent chkconfig'ed off
and started in /etc/rc.local). Perhaps one option would be adjusting
priorities for these services so that pmcd(1) would be started first but
I'm not sure how elegant that would be unless either upstream changes
them. If there are no better suggestions, perhaps we could try asking
the zabbix-agent maintainers for that.


The use of rc.local will work just fine though having upstream make a priority change would help too.

Thanks,
- TreyÂ

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