Bug #53965 MEM agent handling of non-existing option file is wrong
Submitted: 25 May 2010 8:57 Modified: 9 Jan 2015 14:43
Reporter: Daniël van Eeden Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:2.2.0.1705 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[25 May 2010 8:57] Daniël van Eeden
Description:
===============================
# /var/tmp/mysqlmonitoragent-2.2.0.1705-linux-glibc2.3-x86-64bit-installer.bin --optionfile /var/tmp/mysqlagent-optionfile.txt
There has been an error.
Invalid value "/var/tmp/mysqlagent-optionfile.txt" for --optionfile. Allowed values are: 
Use --help to get a list of valid options
===============================

The optionfile does not exist. It should report "Optionfile /var/tmp/mysqlagent-optionfile.txt does not exist" Or "Error 2 when opening optionfile".

How to repeat:
use the --optionfile option with a nonexistend optionfile

Suggested fix:
Better error description.