Documentation for newbie programers
Posted: Tue May 26, 2009 11:20 pm
Hello, i am new in ZM and i want to do some improvments for my homeZM,
i am studing how the perl componets works. I need to do some changes in my box at the moment in zmfilter.pl, but i don't know where the variables in it come from. "ZM_EMAIL_SUBJECT, etc"
Other mysterious is : i did a change in zmfilter.pl , i added a line inside a function "sub sendEmail" this function sends emails when a alarm happened.
My add:
system("touch /usr/src/myfile.txt");
The filter works correctly i recieved the email all seems to be allright BUT
the file named myfile.txt was never created. so... WHAT'S UP?
I just need some documentation to understand the process of the things in this scripts and some other info.
This doc could be a big step for zoneminder, because i read that are a lot of people in this forum which wants to make improvments but they have not the path (documentation) to do it.
May i am the only dokey who haven't this manual, am I ?
Sorry i want to share my ideas.
Thanks for your time.
J.
i am studing how the perl componets works. I need to do some changes in my box at the moment in zmfilter.pl, but i don't know where the variables in it come from. "ZM_EMAIL_SUBJECT, etc"
Other mysterious is : i did a change in zmfilter.pl , i added a line inside a function "sub sendEmail" this function sends emails when a alarm happened.
My add:
system("touch /usr/src/myfile.txt");
The filter works correctly i recieved the email all seems to be allright BUT
the file named myfile.txt was never created. so... WHAT'S UP?
I just need some documentation to understand the process of the things in this scripts and some other info.
This doc could be a big step for zoneminder, because i read that are a lot of people in this forum which wants to make improvments but they have not the path (documentation) to do it.
May i am the only dokey who haven't this manual, am I ?
Sorry i want to share my ideas.
Thanks for your time.
J.