Hello,
I am trying to set up an scenario where MMM should monitor two MySQL instances running in the same machine using mysqld_multi.
After reading the code and doing several tests I am not able to figure out how to use the "config_file" flag.
In which file should I use it?
I have been trying to set it up at mmm_common.conf but it doesn't work.
One of the instances is being correctly monitored (the one with the file included in mmm_agent.conf) but the other one doesn't work.
When trying to do a master swap, it fails with complaining about not knowing which is the new master (clearly it is not reading the mmm_common.conf for the second MySQL instance).
I am sure it is a small thing I am not seeing.
MMM can reach properly both instances thru the different ports 3306 and 3307, it just fails when trying to change the master.
Does any one knows how to set this up?.
Thanks a lot
Manuel.