Restart Specific Monitor
Posted: Fri Jun 10, 2016 8:44 am
Hi all,
i'm new to zoneminder.
I installed it on an Ubuntu 16.04, and everything is going good.
I have some problem with a camera.
I have to add it with Ffmpeg source, and "rtsp://blablabla/onvif1" path. I can see the video streaming, but sometimes i can't and the stream become all blue (like a bsod).
I figured out that changing the monitor FUNCTION from modect (or monitor) to none, and then switch it back works to have the monitor stream back.
I was wondering if there's a way to "restart" only the monitor by a linux shell, like the zmu command to change the monitor STATUS. So hopefully, in a very dirty way, i can make this script in cron and call it every hour, or hopefully once a day (i have to investigate to understand how long the cam stays alive).
So, the question is: since i saw that in the api's monitor there's some new method to change the monitor's function, is possible to change it also by command line?
i'm new to zoneminder.
I installed it on an Ubuntu 16.04, and everything is going good.
I have some problem with a camera.
I have to add it with Ffmpeg source, and "rtsp://blablabla/onvif1" path. I can see the video streaming, but sometimes i can't and the stream become all blue (like a bsod).
I figured out that changing the monitor FUNCTION from modect (or monitor) to none, and then switch it back works to have the monitor stream back.
I was wondering if there's a way to "restart" only the monitor by a linux shell, like the zmu command to change the monitor STATUS. So hopefully, in a very dirty way, i can make this script in cron and call it every hour, or hopefully once a day (i have to investigate to understand how long the cam stays alive).
So, the question is: since i saw that in the api's monitor there's some new method to change the monitor's function, is possible to change it also by command line?