Watchdog Operation
Watchdog monitoring
A software monitoring program running on Picolo.net HD1 continuously monitors
the state of key system elements and restarts some of them if necessary. As a last resort, a
hardware watchdog will reboot the device to get the system back up and running.
Watchdog durations
|
●
|
During the boot process, the watchdog counter is configured with a 2-minute
timeout. |
|
●
|
When the boot is complete, the watchdog counter is configured with a 16-second
timeout. |
Monitored items
The monitored items are the following:
|
●
|
Video capture and encoding: if one of the video streams that have been requested
(via ONVIF profiles) is stalled, the "video capture and encoding" subsystem is
considered as running incorrectly.
A video stream is considered as stalled if it doesn't produce any frame over a
5-second period, unless there is no video signal connected to the corresponding video
input. |
|
●
|
Web services (ONVIF) and web pages: the device web pages, as well as the components implementing the ONVIF services are periodically checked. If
one of these components indicates problems or seems frozen, the "web services and web
pages" subsystem is considered as running incorrectly. In this case, the monitoring
tool restarts all relevant daemons (but doesn't reload the watchdog counter). |
|
●
|
The operating system is also implicitly monitored. |
Device state after reboot
When the watchdog resets the device, the following situation prevails after the reboot:
|
●
|
Unicast streams are interrupted: you must re-establish the session to get the stream again. |
|
●
|
Multicast streams for which the Start Multicast option was activated are automatically resumed. |
|
●
|
Multicast RTSP sessions are deleted: you must re-establish the session as soon as possible to get the benefits of RTSP. |
|
●
|
Recording for active jobs is automatically resumed. |
You can use the ONVIF 'Hello' message to detect a reboot of the device. You can safely assume that the RTSP server is ready to process the session re-establishment requests when this message is received.