Page 1 of 1

Don't poll cameras that are not enabled

Posted: Tue Oct 04, 2011 1:01 pm
by knight-of-ni
I have a couple of wireless IP cameras I occasionally turn on to watch pet activity within the house. It can be pretty amusing sometimes.

When I have the cameras turned off, I un-check the "Enabled" check box under the appropriate monitor. However, Zoneminder 1.25.0 continues to check for the presence of these cameras and fills the log with errors:

Code: Select all

2011-10-04 07:52:17.579210	zmdc	15811	ERR	'zmc -m 1' exited abnormally, exit status 255	zmdc.pl	
2011-10-04 07:52:17.577830	zmdc	15811	ERR	'zmc -m 3' exited abnormally, exit status 255	zmdc.pl	
2011-10-04 07:52:17.516020	zmc_m1	19574	ERR	Failed to pre-capture monitor 1 (0/1)	zmc.cpp	256
2011-10-04 07:52:17.515912	zmc_m1	19574	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1069
2011-10-04 07:52:17.515451	zmc_m1	19574	ERR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	101
2011-10-04 07:52:17.511454	zmc_m3	19573	ERR	Failed to pre-capture monitor 3 (0/1)	zmc.cpp	256
2011-10-04 07:52:17.511188	zmc_m3	19573	ERR	Unable to connect to camera	zm_remote_camera_http.cpp	1069
2011-10-04 07:52:17.510548	zmc_m3	19573	ERR	Can't connect to remote camera: No route to host	zm_remote_camera_http.cpp	101
As far as I know, I'm doing everything right here so I am logging this as a feature request.

When a camera is not enabled, Zoneminder should not poll the device.

Re: Don't poll cameras that are not enabled

Posted: Thu Dec 08, 2011 4:27 am
by PowerRanger
As a possible workaround, have you tried setting 'Function' to none?

Re: Don't poll cameras that are not enabled

Posted: Thu Dec 29, 2011 1:30 pm
by knight-of-ni
Sorry for the late reply.

I can confirm that setting the function to "none" stops the error log from filling up.