Tales of an IT Nobody

devbox:~$ iptables -A OUTPUT -j DROP

mk-heartbeat – sample conf file July 26, 2011

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

No Comments on mk-heartbeat – sample conf file
Categories: mysql