Stop alarms for the next X hours

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
dscheste
Posts: 13
Joined: Mon Mar 02, 2009 6:05 am

Stop alarms for the next X hours

Post by dscheste »

Hello Team,

All my monitors are running mocord. Is there a way to setup a schedule or issue an API call to cancel all alerts for the next X hours?

Bonus question - anyone has ever integrated it with Envisalink powered monitoring system, so ZM alerting profiles only kick in when Envizalink was set to alarmed?

Thank you.
User avatar
burger
Posts: 472
Joined: Mon May 11, 2020 4:32 pm

Re: Stop alarms for the next X hours

Post by burger »

Runstates via cron. Filters can be adjusted to only fire off depending on what run state is active.

https://wiki.zoneminder.com/Cron

Note that if you have a lot of monitors, run states can become unwieldy.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
dscheste
Posts: 13
Joined: Mon Mar 02, 2009 6:05 am

Re: Stop alarms for the next X hours

Post by dscheste »

Thank you Burger, but I want to continue to keep the monitor active, but not trigger any alerts on it, so notifications are not triggered.
Any other creative ideas?
Can I change the alerting profiles attached to a monitor?
User avatar
burger
Posts: 472
Joined: Mon May 11, 2020 4:32 pm

Re: Stop alarms for the next X hours

Post by burger »

dscheste wrote: Wed Sep 02, 2020 1:08 am but not trigger any alerts on it, so notifications are not triggered.
What does "Not trigger any alerts on it" mean? Are you using ZMeventnotification server? Or zmtrigger? Filter email alerts? Explain more details about what alerts you don't want to receive.

With bare ZM you can have filters send emails on alarms. If you have different run states, you can adjust so that the email filters only activate depending on certain run states. This might work for your situation, but you aren't clear on what kind of alerts you are referring to.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply