API call to force alarm

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
Posts: 240
Joined: Tue Feb 11, 2014 2:04 pm

API call to force alarm

Post by BiloxiGeek » Wed Oct 17, 2018 10:35 am

I was fiddling with an API call to force an alarm on a monitor and noticed something odd. After issuing the API call:

Code: Select all

curl -b /root/cookies.txt --silent --insecure https://server/zm/api/monitors/alarm/id:201/command:on.json
I expected to see one event on monitor 201 but what I got was a half dozen 5 second long events before I cancelled the forced alarm state.

This is on a Scientific Linux 7.5 system running zoneminder-1.32.1

Tried the same thing on a different monitor that is configured identically and only got one event that lasted until I cancelled the forced alarm.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest