Fix bug with process index in monit task
Fix bug with process index in monit task