Hello, dear!
Have a good day to you!
This topic describes a way to check the connection between VCN and IP cameras.
Issue Description
we have many scenarios where recordings disconnected, camera offline..etc, many other scenarios where we need test connectivity between VCN and IPCam, we need to run continuous Ping between IPCam and VCN
Solution
There is a script, you can find one camera which recording miss frequently. And run the script on the MPU which error camera belongs to. The script will ping the camera all time. When lagging happened again.
You can get the result of ping at the log file.
Steps:
Change the IP address of script ping.sh to the error camera IP.
Update ping.sh to the server /root/.
Input command: chmod +x /root/ping.sh
Running the script, input command: nohup /root/ping.sh &
When the problem happened, the script will record results to /opt/ping.log.
Stop the scrip input command:
PID=$(ps -ef|grep ping.sh | grep -v grep | awk '{print $2}')
kill -9 $PID
Thanks!


