Go to the planetary view of your target planet, CTRLS in the bottom right, planetary settings, and then put a non-0 number into "Alert when # of enemy units present."
The alert is text-only, and appears in the upper-left of any planetary view iff that number or more enemy ships is attacking.
Edit: Welcome to the forums!