Hi All,
I'm new to Zoneminder. I'm running it in a docker on unraid, and I have email successfully setup (forced and alarm and had it emailed to me). My understanding is that you need to setup events through filters for email notification of an alarm being triggered. What are the specific parameters to use in the various settings? I can't find anything specific on this. I want to be able to get an email when a zone alarm goes off, pretty simple.
Also, I'm guessing when you click the execute button the filter is active. But how do you see a list of filters running in case you wanted to cancel one? I read about zmfilter.pl keeping the list, but how do you invoke it to see what is there?
Any help would be appreciated.
Mark
event email notification for alarms
Re: event email notification for alarms
See: https://wiki.zoneminder.com/SMS_Notificationsmlaustin66 wrote: ↑Sat May 05, 2018 2:56 am What are the specific parameters to use in the various settings? I can't find anything specific on this. I want to be able to get an email when a zone alarm goes off, pretty simple.
That should get you started.
Filters have an asterisk after them in the drop down if they are running in the background 24/7.mlaustin66 wrote: ↑Sat May 05, 2018 2:56 am Also, I'm guessing when you click the execute button the filter is active. But how do you see a list of filters running in case you wanted to cancel one?
Re: event email notification for alarms
lower left on the Filter management page select :
this will run that filter continuously in the background... Execute is the manual way to run the filter and Submit will run the filter but NOT execute the action selected.
Code: Select all
Run filter in background
-
- Posts: 3
- Joined: Sat May 05, 2018 2:51 am
Re: event email notification for alarms
Ok thanks for everyone's help. So I am able to see how to create a filter, and save and run it in the background. But I'm having trouble with notifications. If I pull up the event list and click on show event filter from the top, I can execute the email to me. But on actual events, I am not getting email. Mine is setup as you see in the attachment. Is there something wrong with this setup to trigger and email upon the monitored area being triggered?
- Attachments
-
- Screen Shot 2018-05-05 at 10.00.20 PM.png (139 KiB) Viewed 4679 times
Re: event email notification for alarms
What do your logs say? (filter the logs using ""zmfilter") Hard to tell if it's the e-mail mechanics or your filter's logic.
The filter logic seems to have some issues. It is a bit narrow in scope in that it's only accepting a match of only a single alarmed frame. Perhaps make this "greater than or equal to" would help. Also, the Date/Time match is likely NOT going to work as the filter's run time is going to lag the event's trigger time: I use "greater than or equal to" "5 minutes ago" to manage any lagging (others can mess around to see what works best).
The filter logic seems to have some issues. It is a bit narrow in scope in that it's only accepting a match of only a single alarmed frame. Perhaps make this "greater than or equal to" would help. Also, the Date/Time match is likely NOT going to work as the filter's run time is going to lag the event's trigger time: I use "greater than or equal to" "5 minutes ago" to manage any lagging (others can mess around to see what works best).
Re: event email notification for alarms
I use this as a simple email filter ->
-
- Posts: 3
- Joined: Sat May 05, 2018 2:51 am
Re: event email notification for alarms
Thanks all. This setup seems to work. I thought I was saving the filer with the correct settings, but I guess not. This setup seems to work.
- Attachments
-
- Screen Shot 2018-05-11 at 9.24.50 PM.png (161.4 KiB) Viewed 4573 times