Hi all.
Are there any funktion to get an email when a camera stops working in Zoneminder? Should be nice to know when it fails without login in and view now and then.
BR Stefan
Email when camera stops working?
Re: Email when camera stops working?
This would be a handy feature.sm7tix wrote:Hi all.
Are there any funktion to get an email when a camera stops working in Zoneminder? Should be nice to know when it fails without login in and view now and then.
BR Stefan
However, I think the only way to do this is to watch the system logs. Zoneminder is quite persistent when a camera goes down, and keeps trying to re-open it. But if it fails, every time it fails, it writes something to your ZM logs. You could scan the "tail" of those logs to see if errors occur and send the mail yourself.
e.g. this kind of stuff ... especially lines with ERR in!
Oct 20 12:48:36 perkin zmdc[10582]: ERR ['zmc -m 8' exited abnormally, exit status 255]
Oct 23 17:46:26 perkin zmc_m4[17939]: ERR [Connection dropped by remote end]
Oct 23 17:55:44 perkin zmc_m7[20710]: ERR [Unable to read content]
Oct 23 17:55:44 perkin zmc_m7[20710]: ERR [Unable to get response]
Oct 23 17:55:44 perkin zmc_m7[20710]: ERR [Failed to capture image from monitor 7 (0/1)]
Re: Email when camera stops working?
Ok but can be hard to filter out so it isnt going to be many mails.
The webpage in zm shows when a camera is down with different color on the link so maybe there is a way to catch it?
The webpage in zm shows when a camera is down with different color on the link so maybe there is a way to catch it?