In have an area, that I'm guarding with zm, but due to sun light changes it gives me a lot of false alarms. So, I'm changing MinPixelThreshold field in Zones table during the time of the day. I noticed that killing -HUP zma pids doesn't reload the new MinPixelThreshold settings from the db. Neither does with -TERM. Restarting zm with zmpkg.pl does the trick, but this gives a small downtime (~ 10 seconds).
Looking in the src I can see, for example, that HUP signal triggers eventually ReloadZones() -> Zone::Load() which reloads all zone settings, but in my case I don't think that it does. Am I I correct or I'm missing something? Btw, I have version 1.24.2 (ubuntu 11.04 package).
I've also tried a different approach, by using the zmdc. First, I enabled the debug mode and then I restarted zma with zmdc. For example: zmdc.pl restart zma -m 4 Then, I checked the debug log for MnAT (I suppose this is the MinPixelThreshold value):
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum