Monitoring resources update - added cases for negative and regex matching.