Notification when the states table is filling up

  • Is there a way to get the system to notify me if the states table starts to get above a certain level? Let's say 50%?

    I have some users that have bad habits that fill up the states table and I need to get proactivlty notified about it.