Filters : Help ! uninitialized value in substitution
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
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
Last edited by RedFlyer on Mon Feb 14, 2011 5:18 am, edited 1 time in total.
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.
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.
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
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
Last edited by RedFlyer on Mon Feb 14, 2011 5:18 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi Phil,zoneminder wrote:In Options->Email do you have values in ZM_EMAIL_TEXT and ZM_MESSAGE_TEXT?
Phil
Yes of course i've filled this field with values
Best regards,
Oliver
________
Marijuana vaporizers
Last edited by RedFlyer on Mon Feb 14, 2011 5:18 am, edited 1 time in total.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi Phil,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
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
Last edited by RedFlyer on Mon Feb 14, 2011 5:18 am, edited 1 time in total.
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 ...
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
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]
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
Last edited by RedFlyer on Mon Feb 14, 2011 5:18 am, edited 1 time in total.
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
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
Last edited by RedFlyer on Mon Feb 14, 2011 5:18 am, edited 1 time in total.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
No problem,
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
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
"
Glad to hear you got one going though.
Regards,
Cordel