Basically I want to trigger an alert when a device has a bad habit. Eg. When a device had triggered a CPU alert X number of times in the past 30 days.