Hi Folks,
I'm running Version: 1.32.3-stretch on Debian GNU/Linux 9.11 (stretch), installed via https://zoneminder.readthedocs.io/en/la ... an-stretch (deb https://zmrepo.zoneminder.com/debian/release stretch/).
Runs well, records events from motion detection.
I configured a Pushover filter from https://www.jens.bruntt.dk/zoneminder-w ... fications/. I can't get the filter to run in the background.
Using List Matches from the filters page displays events correctly. Running Execute from the page fires off Pushover messages to my phone immediately.
In the syslog, i can see [Checking filter PurgeWhenFull delete returned 0 events ] and [Checking filter Update DiskSpace update disk space returned 0 events ], but no sign of Pushover filter.
If i run zmfilter.pl any events are sent immediately, and i can see [Checking filter Pushover execute returned 0 events ] as well as the 2 built-in filters running periodically.
I have attached the syslog tail, and the output from running zmfilter.pl, and a screenshot of the Pushover filter.
Obviously i have missed something, and wonder if anyone could help out?
Regards
John
zmfilter.pl not starting
zmfilter.pl not starting
- Attachments
-
- Screenshot of Pushover filter
- PushoverFilter.png (106.73 KiB) Viewed 2260 times
-
- Syslog tail.txt
- Output from syslog
- (1.81 KiB) Downloaded 139 times
-
- zmfilter.txt
- Output from running zmfilter.pl from commandline
- (1.58 KiB) Downloaded 141 times
Re: zmfilter.pl not starting
Try: chmod 755 /opt/pushover/notify_by_pushover.sh
You may need to: chown to www-data
Also Limit to first 2 results only (or a number less than 10)
You may need to: chown to www-data
Also Limit to first 2 results only (or a number less than 10)
Re: zmfilter.pl not starting
Thanks bbunge.
I did chmod 755, no difference, then chown www-data, still no difference, then chown www-data:www-data, then chmod 777, unfortunately with no success:
ls -l /opt/pushover/
total 4
-rwxrwxrwx 1 www-data www-data 185 Jan 4 23:00 notify_by_pushover.sh
Pressing "Execute" on the filters page works immediately, as does running zmfilter.pl
I still don't see the Pushover filter being background checked in syslog, but running zmfilter shows it being checked immediately:
zmfilter.pl
10/01/20 12:46:04.416767 zmfilter[15722].INF [main:181] [Scanning for events using all filters]
10/01/20 12:46:09.478762 zmfilter[15722].INF [main:286] [Checking filter PurgeWhenFull delete returned 0 events ]
10/01/20 12:46:09.534580 zmfilter[15722].INF [main:286] [Checking filter Pushover execute returned 3 events ]
10/01/20 12:46:09.556167 zmfilter[15722].INF [main:970] [Executing '/opt/pushover/notify_by_pushover.sh /zmstore/events/4/2020-01-10/226']
Should i purge and re-install?
Thanks and Regards
John
I did chmod 755, no difference, then chown www-data, still no difference, then chown www-data:www-data, then chmod 777, unfortunately with no success:
ls -l /opt/pushover/
total 4
-rwxrwxrwx 1 www-data www-data 185 Jan 4 23:00 notify_by_pushover.sh
Pressing "Execute" on the filters page works immediately, as does running zmfilter.pl
I still don't see the Pushover filter being background checked in syslog, but running zmfilter shows it being checked immediately:
zmfilter.pl
10/01/20 12:46:04.416767 zmfilter[15722].INF [main:181] [Scanning for events using all filters]
10/01/20 12:46:09.478762 zmfilter[15722].INF [main:286] [Checking filter PurgeWhenFull delete returned 0 events ]
10/01/20 12:46:09.534580 zmfilter[15722].INF [main:286] [Checking filter Pushover execute returned 3 events ]
10/01/20 12:46:09.556167 zmfilter[15722].INF [main:970] [Executing '/opt/pushover/notify_by_pushover.sh /zmstore/events/4/2020-01-10/226']
Should i purge and re-install?
Thanks and Regards
John
Re: zmfilter.pl not starting
Did you restart zm after saving your filter? In 1.33 I made it auto-restart zmfilter, but in 1.32 it requires manual restart.
Re: zmfilter.pl not starting
@iconnor, Okay, that did it. Restarting the service activated Pushover immediately.
I did a motion test and received Pushover messages.
Thanks very much. Should i have read that in the manual? I don't remember seeing that a restart was necessary.
Regards, and thanks again for both the great software and the speedy support!
John
john@veryserver:~$ sudo tail -f -n10 /var/log/messages
[sudo] password for john:
Jan 10 18:07:18 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2000 - Analysing at 4.00 fps]
Jan 10 18:07:41 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2100 - Capturing at 4.00 fps, capturing bandwidth 3174322bytes/sec]
Jan 10 18:07:43 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2100 - Analysing at 4.00 fps]
Jan 10 18:07:56 veryserver zmfilter_1[18549]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Jan 10 18:07:57 veryserver zmfilter_2[18554]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Jan 10 18:08:06 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2200 - Capturing at 4.00 fps, capturing bandwidth 3159281bytes/sec]
Jan 10 18:08:08 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2200 - Analysing at 4.00 fps]
Jan 10 18:08:09 veryserver zmfilter_20[18560]: INF [Checking filter Pushover execute returned 0 events ]
Jan 10 18:08:31 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2300 - Capturing at 4.00 fps, capturing bandwidth 3180713bytes/sec]
Jan 10 18:08:33 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2300 - Analysing at 4.00 fps]
Jan 10 18:08:56 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2400 - Capturing at 4.00 fps, capturing bandwidth 3154731bytes/sec]
Jan 10 18:08:57 veryserver zmfilter_1[18549]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Jan 10 18:08:57 veryserver zmfilter_2[18554]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Jan 10 18:08:58 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2400 - Analysing at 4.00 fps]
Jan 10 18:09:09 veryserver zmfilter_20[18560]: INF [Checking filter Pushover execute returned 0 events ]
Jan 10 18:09:21 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2500 - Capturing at 4.00 fps, capturing bandwidth 3157325bytes/sec]
Jan 10 18:09:23 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2500 - Analysing at 4.00 fps]
^C
I did a motion test and received Pushover messages.
Thanks very much. Should i have read that in the manual? I don't remember seeing that a restart was necessary.
Regards, and thanks again for both the great software and the speedy support!
John
john@veryserver:~$ sudo tail -f -n10 /var/log/messages
[sudo] password for john:
Jan 10 18:07:18 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2000 - Analysing at 4.00 fps]
Jan 10 18:07:41 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2100 - Capturing at 4.00 fps, capturing bandwidth 3174322bytes/sec]
Jan 10 18:07:43 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2100 - Analysing at 4.00 fps]
Jan 10 18:07:56 veryserver zmfilter_1[18549]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Jan 10 18:07:57 veryserver zmfilter_2[18554]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Jan 10 18:08:06 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2200 - Capturing at 4.00 fps, capturing bandwidth 3159281bytes/sec]
Jan 10 18:08:08 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2200 - Analysing at 4.00 fps]
Jan 10 18:08:09 veryserver zmfilter_20[18560]: INF [Checking filter Pushover execute returned 0 events ]
Jan 10 18:08:31 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2300 - Capturing at 4.00 fps, capturing bandwidth 3180713bytes/sec]
Jan 10 18:08:33 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2300 - Analysing at 4.00 fps]
Jan 10 18:08:56 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2400 - Capturing at 4.00 fps, capturing bandwidth 3154731bytes/sec]
Jan 10 18:08:57 veryserver zmfilter_1[18549]: INF [Checking filter PurgeWhenFull delete returned 0 events ]
Jan 10 18:08:57 veryserver zmfilter_2[18554]: INF [Checking filter Update DiskSpace update disk space returned 0 events ]
Jan 10 18:08:58 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2400 - Analysing at 4.00 fps]
Jan 10 18:09:09 veryserver zmfilter_20[18560]: INF [Checking filter Pushover execute returned 0 events ]
Jan 10 18:09:21 veryserver zmc_m4[18531]: INF [zmc_m4] [Doorcam: images:2500 - Capturing at 4.00 fps, capturing bandwidth 3157325bytes/sec]
Jan 10 18:09:23 veryserver zma_m4[18535]: INF [zma_m4] [Doorcam: 2500 - Analysing at 4.00 fps]
^C