"force alarm" not working

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
nixnooi
Posts: 31
Joined: Mon Sep 04, 2006 1:02 am
Location: Pennsylvania, USA

"force alarm" not working

Post by nixnooi »

What has to be configured for force alarm to work?

I tried it on a camera that was in monitor only, but ok maybe that is not allowed.

I tried logged in as admin on a modetect camera and nothing happens.

This is a fresh install and I don't remember doing anything in previous versions to make it work.

and I don't have any long passwords - as mentioned in 1.33

here
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: "force alarm" not working

Post by rockedge »

set the monitor / camera Function to "Nodect" or "Modect". This will allow forced alarms or activation by zmtrigger.pl
nixnooi
Posts: 31
Joined: Mon Sep 04, 2006 1:02 am
Location: Pennsylvania, USA

Re: "force alarm" not working

Post by nixnooi »

my previous version v1.30.4 is still running.

using a camera set in Modetect - force alarm works fine in v1.30.4 , but nothing happens in 1.34. I don't see anything in the log that looks related.

I have copied over each camera's setting by hand.

Based on your post I checked that /usr/bin/zmtrigger.pl is on the 1.34 installation :) it is
nixnooi
Posts: 31
Joined: Mon Sep 04, 2006 1:02 am
Location: Pennsylvania, USA

Re: "force alarm" not working

Post by nixnooi »

Thanks to in 1.33 . Once I figured out I had to change the setting and restart/reboot, that did in fact fix my force alarm problem. My setting is now plain. Not sure what this means for security, but I do need force alarm to work.

I am a little confused as the setting on my old version ( v1.30.4 ) is hashed and force alarm works fine there.

Code: Select all

   -rw-r--r--. 1 root root 21605 Apr 19 18:39 /usr/share/zoneminder/www/includes/Monitor.php

    
    188     if ( ZM_OPT_USE_AUTH ) {
    189       if ( ZM_AUTH_RELAY == 'hashed' ) {
    190         $args['auth'] = generateAuthHash(ZM_AUTH_HASH_IPS);
    191       } elseif ( ZM_AUTH_RELAY == 'plain' ) {
    192         $args['user'] = $_SESSION['username'];
    193         $args['pass'] = $_SESSION['password'];
    194       } elseif ( ZM_AUTH_RELAY == 'none' ) {
    195         $args['user'] = $_SESSION['username'];
    196       }
Post Reply