fix defined monit support