Page 1 of 1

when does zm_monitor.cpp run?

Posted: Thu Dec 29, 2005 2:10 am
by bhomass
I put a bunch of printf statements in zm_monitor.cpp, and I used be able to see the print outs in zmdc.log whenever I generate alarm events. But now, no matter what I try in generating events and configuring filters. nothing is printed out. all the necessary zm daemons are running, and the web pages do indicate that the events were generated when I put my hand in front of a camera.

is there a way I can be sure zm_monitor got executed? is there cetain configurations that can dictate that?

Posted: Thu Dec 29, 2005 9:03 pm
by bhomass
ok, I solved the mystery. zm_monitor does run, but the printouts don't get written to file until I do a zmpkg.pl restart. so I added a fflush().