Page 2 of 3

Posted: Tue Sep 13, 2005 8:16 pm
by RedFlyer
Hi Corey,

I've verified everything, but still have the issue.
I don't know what to do ...
May be another missing PERL module, but witch one

Best regards,

Oliver
________
Macintosh Games

Posted: Wed Sep 14, 2005 7:05 am
by cordel
I'll have to research that script abit more to find out what is required for that small portion unless Phil gets back on this before I get there, I'll let ya know.
Regards,
Cordel

Posted: Wed Sep 14, 2005 9:43 am
by RedFlyer
cordel wrote:I'll have to research that script abit more to find out what is required for that small portion unless Phil gets back on this before I get there, I'll let ya know.
Regards,
Cordel
Ok Corey, thanks in advance. I appreciate.

Best regards,

Oliver

Posted: Fri Sep 16, 2005 9:01 am
by cordel
What php version are you using?

Posted: Sun Sep 18, 2005 1:40 pm
by RedFlyer
cordel wrote:What php version are you using?
Hi Corey,

Sorry for late answer ...
I'm using PHP 4.3.9
Do i need to set/check specific parameter for ZM in php.ini ?

Oliver

Posted: Sun Sep 18, 2005 9:21 pm
by cordel
No you should not need to adjust anything else that I am aware of in php.ini as this is not a php problem.
This is an issue in perl and my perl foo is very low.
Check and see if you have perl-Unicode-String ( Unicode::String )installed.

Also check and make sure the paths are correct at the top of your zmfilter.pl (the use constant lines) just in case. Otherwise I'm running out of ideas.

Posted: Mon Sep 19, 2005 6:44 pm
by RedFlyer
Hi Corey,

I'm desesperate ...
Unicode::String is installed and my paths are correct ...
Could it be an issue with PERL module version ?
But i've installed and installed again the needed PERL module, then i presume i have the good version of this module ...

Is Phil in vacation ?

regards,

Oliver
________
TUNDRA

Posted: Tue Sep 20, 2005 10:06 am
by zoneminder
In Options->Email do you have values in ZM_EMAIL_TEXT and ZM_MESSAGE_TEXT?

Phil

Posted: Tue Sep 20, 2005 12:50 pm
by RedFlyer
zoneminder wrote:In Options->Email do you have values in ZM_EMAIL_TEXT and ZM_MESSAGE_TEXT?

Phil
Hi Phil,

Yes of course i've filled this field with values

Best regards,

Oliver
________
Marijuana vaporizers

Posted: Tue Sep 20, 2005 12:56 pm
by zoneminder
Are they the original ones, or have you modified them? Perhaps you can post them here so I can see if I can reproduce your problem.

Can you also verify that you are not getting any ZM errors in your main log files (e.g. /var/log/messages usually).

Phil

Posted: Tue Sep 20, 2005 1:53 pm
by RedFlyer
zoneminder wrote:Are they the original ones, or have you modified them? Perhaps you can post them here so I can see if I can reproduce your problem.

Can you also verify that you are not getting any ZM errors in your main log files (e.g. /var/log/messages usually).

Phil
Hi Phil,

No this is not the original field content, i've customized for me but quite simple. i'll send you image of the email config.


When i've tried the first time to use email notification, i got errors with zmfilter.pl about PERL module, i've installed the necessary module and after that no more errors about PERL module, but errors messages that you can see in my post from Thu Sep 08.
________
R11

Posted: Thu Sep 22, 2005 6:53 am
by RedFlyer
Corey, Phil,

About my email notification problem.
I got a new 80GB harddrive for test yesterday, reinstalled CENTOS from scratch with all package i think necessary, reinstalled ZM, installed some PERL module like MIME::xxx and other one and it's working well now ...

Code: Select all

09/22/2005 08:42:32.417010 zmfilter[9618].INF [Scanning for events]
09/22/05 08:42:41.007070 zmfilter[9313].INF [Creating notification email]
09/22/05 08:42:41.017297 zmfilter[9313].INF [Sending notification email 'ZoneMinder: Alarm - Cam_Ext-1 (255 - 255 58)']
09/22/05 08:42:41.019519 zmfilter[9313].INF [Attaching '2/1/021-capture.jpg]
09/22/05 08:44:47.139972 zmfilter[9313].INF [Notification email sent]
But anyway, i need to understand what is wrong with my other installation.
Finally, it's may be the text in the config panel, i'll check that later.
I'll keep you in touch.

Best regards to both of you,

Oliver
________
Buy Volcano Vaporizer

Posted: Thu Sep 22, 2005 7:22 am
by RedFlyer
Phil, Corey,

Could you please post the default text content for mail notification.
I'm back on my first harddrive and want to try with this default parameter.

Regards,

Oliver
________
BUY SILVER SURFER

Posted: Thu Sep 22, 2005 7:23 am
by jameswilson
is this the text in option email config you need?

Posted: Thu Sep 22, 2005 7:49 am
by cordel
No problem,

Code: Select all

#
# This is the configuration file for notification emails
#
# The tags you can use in here are as follows
# %ZP% - The path to your ZoneMinder console
# %MN% - The name of the monitor
# %MET% - The total number of events for the monitor
# %MEH% - The number of events for the monitor in the last hour
# %MED% - The number of events for the monitor in the last day
# %MEW% - The number of events for the monitor in the last week
# %MEM% - The number of events for the monitor in the last month
# %MEA% - The number of archived events for the monitor
# %MP% - The path to the monitor window
# %MPS% - The path to the monitor stream
# %MPI% - The path to the monitor recent image
# %EP% - The path to the event
# %EPS% - The path to the event stream
# %EPI% - The path to the event images
# %EPI1% - The path to the first alarmed event image
# %EPIM% - The path to the (first) event image with the highest score
# %EI1% - Attach first alarmed event image
# %EIM% - Attach (first) event image with the highest score
# %EV% - Attach event mpeg video
# %EI% - The id of the event
# %EN% - The name of the event
# %ET% - The time of the event
# %ED% - The duration of the event
# %EF% - The number of frames in the event
# %EFA% - The number of alarm frames in the event
# %EST% - The total score of the event
# %ESA% - The average score of the event
# %ESM% - The maximum score of the event
# %FN% - The name of the current filter that matched
# %FP% - The path to the current filter that matched

# Change these to suit your own preferences
subject = "ZoneMinder: Alarm - %MN%-%EI% (%ESM% - %ESA% %EFA%)"
body = "
Hello,

An alarm has been detected on your installation of the ZoneMinder.

The details are as follows :-

  Monitor  : %MN%
  Event Id : %EI%
  Duration : %ED%
  Frames   : %EF% (%EFA%)
  Scores   : t%EST% m%ESM% a%ESA%

This alarm was matched by the %FN% filter and can be viewed at %EPS%

	# %ZP% - The path to your ZoneMinder console
	# %MN% - The name of the monitor
	# %MET% - The total number of events for the monitor
	# %MEH% - The number of events for the monitor in the last hour
	# %MED% - The number of events for the monitor in the last day
	# %MEW% - The number of events for the monitor in the last week
	# %MEM% - The number of events for the monitor in the last month
	# %MEA% - The number of archived events for the monitor
	# %MP% - The path to the monitor window
	# %MPS% - The path to the monitor stream
	# %MPI% - The path to the monitor recent image
	# %EP% - The path to the event
	# %EPS% - The path to the event stream
	# %EPI% - The path to the event images
	# %EPI1% - The path to the first alarmed event image
	# %EPIM% - The path to the (first) event image with the highest score
	# %EI1% - Attach first alarmed event image
	# %EIM% - Attach (first) event image with the highest score
	# %EV% - Attach event mpeg video
	# %EI% - The id of the event
	# %EN% - The name of the event
	# %ET% - The time of the event
	# %ED% - The duration of the event
	# %EF% - The number of frames in the event
	# %EFA% - The number of alarm frames in the event
	# %EST% - The total score of the event
	# %ESA% - The average score of the event
	# %ESM% - The maximum score of the event
	# %FN% - The name of the current filter that matched
	# %FP% - The path to the current filter that matched

ZoneMinder
"
You might be able to generate a list of installed packages for both installations and compair the two. Any modules installed via CPAN you would need to create a list for as well.

Glad to hear you got one going though.
Regards,
Cordel