# 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',
Its this one you'd want - so /var/lib/pcp/pmdas/mysql/mysql.conf
What did you put in there that didn't work? It can be any perl
code,
and would typically be variable assignments (overriding one of
the
3 set just beforehand - $database, $username or $password. Oh,
you
may also need the old perl trick of "1;" as the final line to
indicate a
successful return status?