Foglight for DB2 requires OS connection only during install. Although OS connection is recommended after installation it is not mandatory. This is to monitor the DB2 instance at the OS level to ensures its health constantly.
There are 3 options to achieve this:
- Have a separate user for the OS connection. This user just needs to be able to connect to the system and issue some basic commands( du, awk, iostat, vmstat, uptime, hostname, netstat, sed, ps, uname, db2) but it does not require any special permission in the db2 side
- Do not use OS monitoring at all which will make the OS user obsolete. Since installation requires an OS user, you will need to install the agent manually. Installing manually does not perform all validation checks as like normal install, hence please ensure to validate the pre-requisites manually
- Install the DB2 agent with OS user with the basic permissions and after installation, use the Global Administration panel to disable the OS connection
Please refer to the Foglight for Databases deployment guide for the most current OS permissions requirements.