Automated monitoring of stock level