The MySQL Plug-in for Oracle Grid Control 10g and 11g
If you are looking for the plugin for Oracle Enterprise Manager 12c, it’s here.
This is the homepage of the MySQL Monitoring Plug-in for Oracle Enterprise Manager 10g and 11g Grid Control, a development project sponsored by The Pythian Group. The plug-in extends monitoring capabilities of Grid Control so that DBAs with heterogeneous environments can monitor MySQL systems using the same tool they use for Oracle products such as Oracle Databases and Application Servers.
With this plug-in, a DBA can add a new MySQL target just as they can an Oracle database. Oracle Enterprise Manager Agent doesn’t have to be running on the same host as the monitored MySQL database. I.e., remote monitoring of the MySQL database using one or two agents is possible. This is very important as many administrators prefer to keep server software stack at bare minimum whereas Oracle Agent is often considered somewhat heavy and bulky to install.
MySQL targets behave in the same way as any other Grid Control targets, including availability monitoring, performance metrics collections, configurations management, alerts notifications, and reports.
The datasheet is available here.
Notes
| Version | Notes |
|---|---|
| 1.1.2 27-MAR-2012 |
|
| 1.1.1 11-SEP-2009 |
|
| 1.1 16-JUN-2008 |
|
| 1.0 28-MAY-2008 |
|
| 0.42 14-APR-2008 |
|
Please follow this link to view requirements
Oracle has certified this plug-in as the official MySQL plug-in for Oracle Grid Control.
The plug-in is distributed as a Management Plug-in Archive (MPA) — a .jar file that can include one or more Management Plug-ins. The file is zipped so make sure you unzip it before installation and importing it to the Grid Control.
Please follow this link to view the installation manual
Issues with a specific release, new feature requests and etc. can be posted on the blog posts in category MySQL Plug-in for Oracle Grid Control.

Pingback: Announcement: Release 1.1.1 of MySQL Plug-in for Oracle Enterprise Manager | Pythian Group Blog
Pingback: Alex Gorbachev at Oracle Open World 2009: Speaking Schedule | Pythian Group Blog
How can I add a new MySQL target to OMS please ?
Think
The page above has the link to the installation manual.
Alex,
How long after the 11g OEM comes out do you expect to have the plug-in certified for use in it ?
Thanks much for your and Pythian’s efforts in the Oracle and MySQL communities.
@Tony: expect it working immediately as Extensibility framework is the same in 11g EM. That what I was told. I’m working on validating the plug-in now.
Pingback: Liveblogging: Edward Screven State of the Dolphin Keynote | The Pythian Blog
I have successed install this plus-in,and add the mysql target.
The HOME page works well,but REPORTS page doesn’t work, it shows “No data is currently available.”
I want to know why?
Thanks.
@seven: It takes some time to collect initial data that can be displayed in the charts.
But it has already passed more than 36 hours after I add the mysql agent. The PRPORT is still blank.
Please help me.
@seven: do you see all the metrics collected properly? Check in All Metrics section – link at the bottom of MySQL target home page.
hi
can this monitor mysql replication topologies?
thanks.
Kim, I didn’t add slave status in this version. There is very limited slave_running variable which is frequently unreliable as far as I know.
Other than that, slave and masters can be monitored independently but not replication status.
Hy Alex
We monitor the Replication status with a script that check 2 entries form show slave status .
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
if the 2 entries are YES the replication is ok . i think its enough.
ok, thank you!
Thank You, Plugin works like magic on GC 11.
Manual config for the target.xml on the MySQL server box.
Kind Regards
Pingback: Announcement: Release 1.1.2 of MySQL Plug-in for Oracle Enterprise Manager 10g/11g | The Pythian Blog
Hello, will this plug-in work with MySQL 5.5?
Yes. Make sure to use 1.1.2 version.
Will it be a plugin for the GC 12C ?
plugin 1.1.2 works for GC11 and new MySQL versions.
GC 12c exists in alpha and everyone who received it reported it as working. I’m finishing some UI work and it will be released shortly for public.
I installed the mysql 1.1.2 grid control add on. All the steps went fine. However target is not collecting the stats
Target mysqldb
Type MySQL Server
Metric Response
Collection Timestamp May 24, 2012 9:55:50 AM
Error Type Collection Failure
Message em_error=Timeout of authentication at /u01/app/OEM11g/Middleware/agent11g/sysman/admin/scripts/emx/mysql/mysql_oem.pm line 45
Any idea? I have specified ip address, username, password for mysql. I have verified the password works and has privilges. Is there a linux command line I can run to simulate this perl error?
Thanks
SM
What’s your MySQL version? OS?
Hi Alex -
its as below
Server version: 5.5.23 MySQL Community Server (GPL)
I had host name of mysql server before then I tried ip address. Same issue. Also, I can ssh from agent node to target mysql server and ping
Thanks
SM
Can you connect to that server from the host with Oracle EM Agent using normal MySQL client?
Hi Alex,
I am able to connect. I had given ‘root’ user before but now I have given some other user name and has process/reload priv. The agent node didnt have mysql so I installed it.
Alex,
After I changed the user to some username other than ‘root’ – it seems to be connected. Although not knowing normal its little bit hard to tell all is working. However, availability of 100% and various choice in “Reports” showing data makes me think its working …
Thanks
I think it must be something else than just a user. Can you try to enter an invalid password and see if you get a timeout or a wrong password error ? Or enter a non-existing username?
Alex,
Could you give an estimate about when the plugin for em12c will be released?
Thanks,
Remco
Can we get the alpha release of the plug-in for OEM 12c ?
when is the plugin for 12c be available for download?
Is there a time estimate when the EM 12c plug-in will be available?
Thanks,
Jenn
Hi Alex,
can you please send me the alpha (or beta) version of the plugin for cloud 12c bp1? I’d like to test it. I’ll send you feedback.
Regards
I’m willing to work with Alpha plugin for EM 12c. Please let me know how to make this happen. Thank you very much for your efforts. I know it can be a thankless job!
Hi, how can an article describing the metrics monitored in MySQL Yeah, I’m having some critical alerts and do not know how to solve them.
Pingback: Announcing MySQL Plugin 12.1.0.1.0 for Oracle Enterprise Manager 12c Cloud Control
Fixed a bug in the plugin. Alex there’s an issue when there’s an non-numeric value in MGMT$METRIC_DETAILS. The optimizer can choose an execution path that does an FTS, causing a 1722 error in the Commands and Executions page. Fixed temporarily by editing MGMT_IP_REPORT_ELEM_PARAMS to hack the driver script and added a NaN check. Now the Executions History is working OK !
Chris, can you give me the details? I’ll send you an email so you can email me directly.
Thanks.
Based on the datasheet for OEM11g with plug-in 1.1.2, you only support MySql 4.0,4.1, and 5.1. do you support MySql 5.5 and 5.6. also it mentioned it is planed to support MySql cluster. is any new plug-in for OEM 11g supporting cluster or newer version of MySQl?
It works with 5.5 and 5.6 (after some versions of 5.6 MySQL has to start with secure-auth disabled though). Cluster support is in the air as there hasn’t been anyone prepared to sponsor the development but if there is interest — ndb cluster support wouldn’t be a stretch.