When you have installed a new Agent, it will report itself automatically to the Server. The first time an Agent contacts the Server no groups will be selected. The User Interface will show an Add Groups! warning in the Agent column.
Always configure the groups first, via Edit System and Groups Receives Notifications, after you have installed a new Agent.