Allowing to monitor either service or port, rather than both