Bug #89720 | MySQL Enterprise Monitor : Cannot use parameter agent_installtype in optionfile | ||
---|---|---|---|
Submitted: | 19 Feb 2018 19:01 | Modified: | 20 Feb 2018 17:46 |
Reporter: | Maxence LEBORGNE | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Enterprise Monitor: Agent | Severity: | S3 (Non-critical) |
Version: | 4.0.3 | OS: | Any |
Assigned to: | CPU Architecture: | x86 |
[19 Feb 2018 19:01]
Maxence LEBORGNE
[20 Feb 2018 7:35]
MySQL Verification Team
Hello Maxence, Thank you for the report and feedback. Observed that when "agent_installtype=standalone" is used then it works but fails when "agent-installtype=standalone". =================== [ushastry@CentOS7 Downloads]$ cat optionfile.txt installdir=/opt/mysql/enterprise/agent agent-installtype=standalone managerhost=memsrv.domain.com managerport=443 agentuser=agent agentpassword=mypassword mode=unattended unattendedmodeui=minimal [ushastry@CentOS7 Downloads]$ [ushastry@CentOS7 Downloads]$ ./mysqlmonitoragent-4.0.3.5192-linux-x86-64bit-installer.bin --optionfile optionfile.txt Error: There has been an error. Unknown option: --agent-installtype Use --help to get a list of valid options [ushastry@CentOS7 Downloads]$ [ushastry@CentOS7 Downloads]$ vi optionfile.txt [ushastry@CentOS7 Downloads]$ -- This works [ushastry@CentOS7 Downloads]$ cat optionfile.txt installdir=/opt/mysql/enterprise/agent agent_installtype=standalone managerhost=memsrv.domain.com managerport=443 agentuser=agent agentpassword=mypassword mode=unattended unattendedmodeui=minimal ushastry@CentOS7 Downloads]$ ./mysqlmonitoragent-4.0.3.5192-linux-x86-64bit-installer.bin --optionfile optionfile.txt [ushastry@CentOS7 Downloads]$ ls -l /opt/mysql/enterprise/agent/ total 5468 drwxr-xr-x. 3 ushastry ushastry 91 Feb 20 02:34 bin -rw-------. 1 ushastry ushastry 540 Feb 20 02:34 configuration_report.txt drwxr-xr-x. 2 ushastry ushastry 48 Feb 20 02:34 doc drwxr-xr-x. 4 ushastry ushastry 141 Feb 20 02:34 etc -rw-------. 1 ushastry ushastry 37684 Feb 20 02:34 install.log drwxr-xr-x. 6 ushastry ushastry 211 Feb 20 02:34 java drwxr-xr-x. 2 ushastry ushastry 4096 Feb 20 02:34 lib drwxr-xr-x. 3 ushastry ushastry 59 Feb 20 02:34 licenses drwxr-xr-x. 2 ushastry ushastry 73 Feb 20 02:34 logs Thanks, Umesh
[20 Feb 2018 17:46]
Maxence LEBORGNE
Ok, my bad. Thanks for your review. I did not see that it was different between option file (agent_installtype *underscore*) and command line (--agent-installtype *hyphen*) Indeed, it works with agent_installtype in option file. Maybe uniformize for both cases, as it is error prone.
[21 Feb 2018 5:19]
MySQL Verification Team
Thank you for confirming and feedback on uniformize for both cases! Thanks, Umesh