To upgrade without saving previous configuration information you must disable the agent, remove it, and reinstall it.
The steps to upgrade and re-use previous configuration information is as follows:
To upgrade from DB2 agent
Make sure to update the newly copied Db2udbTypes.cf file with all the type-level changes that you had made to the older Db2udbTypes.cf file. For example, if you had changed the value of the MonitorInterval attribute from the default 60 to 120 seconds, the Db2udbTypes.cf file gets updated. You must apply these type-level changes manually to the newly copied Db2udbTypes.cf file.