Hello Nathan,
Thanks for the quick reply.
I will use the sledgehammer for today, as I am working on a real
issue. But will set up a test bed for both apache and mysql. I will
try the mysql_auto_reconnect option and see.
Also, according to the MySQL PMDA, you can put config variables in
/var/lib/pcp/pmdas/mysql/mysql.conf. I tried this, but it did not
work.
Looking at the pmda, what does the ./mysql.conf translate to ?. Is
it running inside /var/lib/pcp/pmdas/mysql ?
# Configuration files for overriding the above settings
for my $file ( '/etc/pcpdbi.conf', # system defaults (lowest
priority)
pmda_config('PCP_PMDAS_DIR') . '/mysql/mysql.conf',
'./mysql.conf' ) { # current directory (high priority)
eval `cat $file` unless ! -f $file;
}
Regards
On 03/20/2012 09:04 AM, Nathan Scott wrote:
As a workaround, its also
possible to use pmie to notice when the agent exits
(pmcd.agent.status) and send sighup pmcd (pmstore into
pmcd.control.sighup).
But, thats a sledgehammer - be good to understand and fix the
above issues.
cheers.
--
Nathan
|
|