You have the option of starting the Monitor Agent from the final
installation screen. Otherwise you can do this by going to the
Start Menu and under
MySQL Enterprise Monitor Agent entry. Simply select
Start MySQL Enterprise Monitor Agent option.
On Windows Vista or later, starting the agent requires
administrative privileges—you must be logged in as an
administrator. To start or stop the agent right-click the menu
item and choose the
cmd window right-click the
cmd icon and choose the menu option.
To report its findings, the agent needs to be able to connect
to the dashboard through the port specified during
installation. The default value for this port is
18080; ensure that this port is not
blocked. If you need help troubleshooting the agent
Section 5.3.9, “Troubleshooting the Agent”.
Alternately, you can start the agent from the command line by entering:
sc start MySQLEnterpriseMonitorAgent
net start MySQLEnterpriseMonitorAgent
You can also start the agent by issuing the command,
agentctl.bat start. Stop the agent by passing
stop. This batch file is found
For confirmation that the service is running you can open the
Microsoft Management Console Services window. To do this go to
the Control Panel, find
and click the link to
Services. Locate the
MySQL Enterprise Monitor Agent
and look under the Status column.
You can also start the agent from this window rather than from
Start menu or the command line. Simply
MySQL Enterprise Monitor Agent and choose
Start from the pop-up menu. Starting the
agent from this window opens an error dialog box if the agent
cannot connect to the MySQL server it is monitoring. No error is
displayed if the agent is unable to connect to the
MySQL Enterprise Service Manager.
The pop-up menu for starting the agent also offers the option of stopping the agent. To stop the agent from the command line you only need type:
sc stop MySQLEnterpriseMonitorAgent
net stop MySQLEnterpriseMonitorAgent
MySQLEnterpriseMonitorAgent is the default
name of the Monitor Agent service. If you have added an
additional agent as described in
Section C.2.2, “MySQL Server (
agent-instance.ini) Configuration”, replace
MySQLEnterpriseMonitorAgent with the
appropriate agent name.