[Xymon] Client test script fails when run by xymon, works when run manually