You are aware that DB2 deactivates a database when the last connection goes away and activates it again upon the first connection - unless you have explicitly activated the database. So triggering on database activation may occur at more or less random points in time.
I'm also interested in understand what kind of action you want to perform based on this event.