[Nagiosplug-devel] check_mysql should support a command line option for a MySQL defaults file
sean finney
seanius at seanius.net
Fri Nov 24 20:51:35 CET 2006
On Fri, 2006-11-24 at 12:33 -0500, Brian A. Seklecki wrote:
> Yea it's always been beyond my belief why/if/that check_mysql doesn't
> honor ~nagios/.my.cnf. I remember the pain clearly. Vivid.
doesn't it do so now?
<snip>
/* initialize mysql */
mysql_init (&mysql);
mysql_options(&mysql,MYSQL_READ_DEFAULT_GROUP,"client");
<snip>
note that i still agree it'd be nice to be able to specify an
alternate defaults file. and i don't think anyone would refuse
a patch... :)
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20061124/3aaf5e13/attachment.sig>
More information about the Devel
mailing list