mk-heartbeat – sample conf file

There’s not a whole lot (if any) documentation on what the file for the –config parameter for Maatkit‘s mk-heartbeat should look like.

If you quickly pilfer through the source code, what it’s looking for becomes pretty straight forward (It’d be nice to have this in the documentation, however).

The config files are newline delimited and resemble a my.cnf file using ‘param=value’ notation.

E.g.:

Sample config

So this would be launched using something like:

In my book, this is essential behavior to avoid having your password hang out on the output from ps

Leave a Reply

Your email address will not be published. Required fields are marked *