Works well… when it works

Great plugin, but I do have a fairly big problem I’ve just noticed, we use a .my.cnf file for all username and password (Which is common across the company for the nagios mysql user), however we need to specify hostname in the command for obvious reasons.

However, when you run the script with the mycnf option, it doesn’t parse the hostname and goes to localhost instead.

So I ended up with 20machines all with the same mysql health values!

If you use –hostname –user and –pass as normal, the script works great hence the good rating, but if I can submit a bug report somewhere that would be ace.

Cheers,
Chris