[root@mydb01 ~]# ./mysqlmonitoragent-8.0.0.8131-linux-x86-64bit-installer.bin Language Selection
Please select the installation language
[1] English - English
[2] Japanese - 日本語
Please choose an option [1] :
----------------------------------------------------------------------------
Welcome to the MySQL Enterprise Monitor Agent Setup Wizard.
----------------------------------------------------------------------------
Installation directory
Please specify the directory where MySQL Enterprise Monitor Agent will be
installed
Installation directory [/opt/mysql/enterprise/agent]:
How will the agent connect to the database it is monitoring?
[1] TCP/IP
[2] Socket
Please choose an option [1] :
----------------------------------------------------------------------------
Monitoring Options
You can configure the Agent to monitor this host (file systems, CPU, RAM, etc.)
and then use the Monitor UI to furnish connection parameters for all current and
future running MySQL Instances. This can be automated or done manually for each
MySQL Instance discovered by the Agent. (Note: scanning for running MySQL
processes is not available on Windows, but you can manually add new connections
and parameters from the Monitor UI as well.)
Visit the following URL for more information:
http://dev.mysql.com/doc/mysql-monitor/8.0/en/mem-qanal-using-feeding.html
Monitoring options:
[1] Host only: Configure the Agent to monitor this host and then use the Monitor UI to furnish connection parameters for current and future running MySQL Instances.
[2] Host and database: Configure the Agent to monitor this host and furnish connection parameters for a specific MySQL Instance now. This process may be scripted. Once installed, this Agent will also continuously look for new MySQL Instances to monitor as described above.
Please choose an option [2] :
----------------------------------------------------------------------------
Setup is now ready to begin installing MySQL Enterprise Monitor Agent on your
computer.
Do you want to continue? [Y/n]: Y
----------------------------------------------------------------------------
Please wait while Setup installs MySQL Enterprise Monitor Agent on your
computer.
Installing
0% ______________ 50% ______________ 100%
#########################################
----------------------------------------------------------------------------
MySQL Enterprise Monitor Options
Hostname or IP address []: 192.168.120.97
Tomcat SSL Port [18443]:
The following are the username and password that the Agent will use to connect
to the Monitor. They were defined when you installed the Monitor. They can be
modified under Settings, Manage Users. Their role is defined as "agent".
Agent Username [agent]: reguser
Agent Password :
Re-enter :
----------------------------------------------------------------------------
Monitored Database Configuration Options
Validate hostname, port, and Admin account privileges [Y/n]: Y
Configure encryption settings for user accounts [y/N]: y
Configure less privileged user accounts [y/N]: y
----------------------------------------------------------------------------
Monitored Database Information
IMPORTANT: The Admin user account specified below requires special MySQL
privileges.
Visit the following URL for more information:
http://dev.mysql.com/doc/mysql-monitor/8.0/en/mem-agent-rights.html
MySQL hostname or IP address [localhost]: 192.168.120.92
MySQL Port [3306]:
Admin User []: root
Admin Password :
Re-enter Password :
Monitor Group []:
----------------------------------------------------------------------------
Encryption Settings
Require Encryption [y/N]: y
Allow Self-Signed Certificates [y/N]: y
CA Certificate []:
----------------------------------------------------------------------------
Less Privileged User Account Creation
IMPORTANT: Less privileged accounts can be used to enhance monitoring security,
and can even be created for you if the Admin account has GRANT privileges.
Visit the following URL for more information:
http://dev.mysql.com/doc/mysql-monitor/8.0/en/mem-agent-rights.html
Auto-Create Less Privileged Users [Y/n]: Y
General Username []:
General Password :
Re-enter Password :
Limited Username []:
Limited Password :
Re-enter Password :
Warning: You need to provide a non-empty General Username
Press [Enter] to continue:
----------------------------------------------------------------------------
Less Privileged User Account Creation
IMPORTANT: Less privileged accounts can be used to enhance monitoring security,
and can even be created for you if the Admin account has GRANT privileges.
Visit the following URL for more information:
http://dev.mysql.com/doc/mysql-monitor/8.0/en/mem-agent-rights.html
Auto-Create Less Privileged Users [Y/n]: Y
General Username []: general
General Password :
Re-enter Password :
Limited Username []: limited
Limited Password :
Re-enter Password :
----------------------------------------------------------------------------
Configuration Report
MySQL Enterprise Monitor Agent (Version 8.0.0.8131)
The settings you specified are listed below.
Note that if you are using a Connector to collect Query Analyzer data,
you will need some of these settings to configure the Connector. See
the following for more information:
http://dev.mysql.com/doc/mysql-monitor/8.0/en/mem-qanal-using-feeding.html
Installation directory: /opt/mysql/enterprise/agent
MySQL Enterprise Monitor UI:
-------------------------
Hostname or IP address: 192.168.120.97
Tomcat Server Port: 18443
Use SSL: yes
Monitored MySQL Database:
-------------------------
Hostname or IP address: localhost
Port: 3306
Press [Enter] to continue:
Press [Enter] to continue:
----------------------------------------------------------------------------
Start MySQL Enterprise Monitor Agent
Info to start the MySQL Enterprise Monitor Agent
The MySQL Enterprise Monitor Agent was successfully installed. To start the
Agent please invoke:
/etc/init.d/mysql-monitor-agent start
Press [Enter] to continue:
----------------------------------------------------------------------------
Setup has finished installing MySQL Enterprise Monitor Agent on your computer.
View Agent Readme File [Y/n]: Y
README
Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
This is a> License information can be found in the LICENSES.pdf file in the
licenses folder of the installation. This distribution may include
materials developed by third parties. For license and attribution
notices for these materials, please refer to the LICENSES.pdf file.
For more information on the MySQL Enterprise Monitor, visit
https://docs.oracle.com/cd/E17952_01/mysql-monitor-8.0-en/index.html
or https://dev.mysql.com/doc/mysql-monitor/8.0/en/.
For additional downloads of MySQL Enterprise Monitor, visit
https://support.oracle.com/.
For further information about MySQL Enterprise Monitor or additional
documentation, see:
http://www.mysql.com
http://www.mysql.com/products/enterprise
http://www.mysql.com/products/enterprise/monitor.html
MySQL Enterprise Monitor is brought to you by the MySQL team at Oracle.
Press [Enter] to continue:
[root@mydb01 ~]# /etc/init.d/mysql-monitor-agent status
MySQL Enterprise Agent does not appear to be running
[root@mydb01 ~]# /etc/init.d/mysql-monitor-agent start
Starting MySQL Enterprise Agent service... SUCCESS!
[root@mydb01 ~]# /etc/init.d/mysql-monitor-agent status
MySQL Enterprise Agent is running