Spherically symmetric solutions of a boundary value problem for monopoles