[PATCH 1/8] servmon(): remove idx variable