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.ph ... n_alarm.3F
It sends an alert every 3-5 seconds while the monitor is in alarm state, it also sends one when the recording ends even if there is not alert.