Description:
By accident (forgot the sudo) I have installed the montior/agent as an other user than root. Further I over-read that the path to install was set to $HOME/mysql/enterprise instead of /opt/mysql/enterprise.
So far so good. My fault.
But I would like have seen at least a note, that I am NOT installing as root and even more that the installer was NOT capable to create the init scripts.
How to repeat:
Install Monitor/Agent.
Suggested fix:
In such cases usually I get a sudo root box where I have to enter the root password to do root activities.
IMHO more verbosity would be good to have.
I am aware of that sysadmins do not like to have init scripts pointing to "non-root" applications. This should be possible to circumvent by calling the final startscript with sudo <user> mysql_enterprise_monitor start.
What about a mandatory installation as root where the installer asks for as which user should it be installed?