Adding Targets Using Autodiscovery
You can discover MySQL instances automatically, using OMS Auto Discovery.
To configure Auto Discovery for Oracle MySQL, do the following:
Auto Discovery Target Naming
The target is named according to the following rules:
Hostname:PortNumber
- If the target is listening on TCPHostname:SocketPath
- If the target is listening over a socket.Hostname.pid
- If neither port number nor socket can be resolved, the process identifier (pid) of the monitored MySQL instance is used.
Note:
If theHostname.pid
naming convention is used, and the MySQL instance is restarted, a new unmanaged target is added to the results list because a new process id is assigned causing the name of the target to change.
Host names generated using this method are not deleted from the results list if the MySQL server is restarted and the new, generated name added to the list. You must manage the old, generated host names manually.