Search found 5 matches
- Mon Feb 03, 2014 7:26 pm
- Forum: ZoneMinder 1.26.x
- Topic: Run external script only once during alert when in mocord
- Replies: 0
- Views: 932
Run external script only once during alert when in mocord
I am trying to find a way to send the monitor name to a bash script only once during an alert when the monitor is in mocord. Using this script from: http://www.zoneminder.com/wiki/index.php/FAQ#How_can_I_use_ZoneMinder_to_trigger_something_else_when_there_is_an_alarm.3F It sends an alert every 3-5 ...
- Thu Jan 23, 2014 9:37 pm
- Forum: ZoneMinder 1.25.x
- Topic: zmHasAlarmed Perl script only works during testing
- Replies: 1
- Views: 1053
Re: zmHasAlarmed Perl script only works during testing
Post your script. I am also using that script and it is working for me, however I am trying to get it to use zmInAlarm since I don't want it to trigger while still in the same alarm.
- Fri Jan 10, 2014 9:43 pm
- Forum: ZoneMinder 1.25.x
- Topic: Running script on alarm
- Replies: 3
- Views: 4116
Re: Running script on alarm
I am using this and it works: #!/usr/bin/perl -w use strict; use ZoneMinder; use warnings; use DBI; $| = 1; my $driver = "mysql"; my $database = "zm"; my $user = "zmuser"; my $password = "zmpass"; my $dbh = DBI->connect( "DBI:$driver:$database", $user, $password, ) or die $DBI::errstr; my $sql ...
- Fri Jan 10, 2014 9:32 pm
- Forum: ZoneMinder 1.25.x
- Topic: Running script on alarm
- Replies: 3
- Views: 4116
Re: Running script on alarm
Did you ever figure this out? I am having the same issue.
- Thu Jan 09, 2014 9:23 pm
- Forum: ZoneMinder 1.26.x
- Topic: Issue with executing external action
- Replies: 0
- Views: 949
Issue with executing external action
I have been using zoneminder for 5+ years now and usually find answers to all my issues via searching the forums or the wiki, but this one is stumping me. I want to execute an external action when an event is triggered, google directed me to http://www.zoneminder.com/wiki/index.php/FAQ#How_can_I_use ...