Email alerts in ZoneMinder

From HeepyWiki
Revision as of 02:29, 7 February 2011 by Morris (Talk | contribs) (Created page with "'''Making ZoneMinder not spam you with all past events''' If you create a background alert to sent email or text messages or whatever, there's no way to tell zoneminder that you…")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Making ZoneMinder not spam you with all past events

If you create a background alert to sent email or text messages or whatever, there's no way to tell zoneminder that you only want that alert to be triggered on *new* events - which is to say, there's no way to prevent it from sending you an email alert for every single matching even that's ever been saved since you first installed zoneminder. I learned that "Unarchived" does not mean what I thought it meant when I got 5509 emails for events going back several years.

Although there's no way to do this through the UI, you can just edit the zm database directly:

update Events set Emailed = 1 where Emailed = 0;