pcp
[Top] [All Lists]

Re: [pcp] MySQL PMDA silently exits

To: chandana@xxxxxxxxxxxxx
Subject: Re: [pcp] MySQL PMDA silently exits
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 17 Apr 2013 02:18:59 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <516E3B06.8030003@xxxxxxxxxxxxx>
References: <516E0306.1070701@xxxxxxxxxxxxx> <99227353.1581961.1366177674251.JavaMail.root@xxxxxxxxxx> <516E3B06.8030003@xxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: kSMLHZlzGWyPt4JyGPTnGcYZu+x4Aw==
Thread-topic: MySQL PMDA silently exits

----- Original Message -----
> Nathan,
> Good pickup.
> 
> Puppet seems to me re-starting PCP, and I think I know why.
> 
> The Install of the MySQL PMDA causes pmcd.conf to change, so Puppet
> changes it back, and re-starts PCP.
> 
> This is classic catch 22, and I need to find a work around for this, and
> will send my findings back to this list as well..

Ah.  Not sure if it helps in your situation, but I've seen others use the
"touch /var/lib/pcp/pmda/mysql/.NeedInstall" trick, via puppet, to ensure
the PMDA is installed (along with a metric fetch test, IIRC).  If you touch
that file, a "service pmcd restart" will do a default Install for the PMDA
if it is not installed already.

cheers.

--
Nathan

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