Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 

Contrail Analytics Node Watchdog Script Read Me

Problem Description

The Contrail Analytics API and the Contrail Collector Services, which are part of the Contrail Analytics package, fail and do not restart.

Solution

The Contrail Analytics watchdog script is provided as a workaround. This script monitors the service status of Contrail Analytics API and the Contrail Collector services. When the script finds that a service is unavailable, it restarts that service and continues to monitor the service.

Installing the Watchdog Script

To install the script, do the following:

  1. Copy the watch.sh and watch.py files to the /temp folder on the Contrail Analytics server or VM.
  2. Open a Linux shell and execute the watch.sh script.
  3. Execute the ps -aef | grep watch.py command to verify that the watch.py script is running.

    If this script is not running, contact the Juniper Networks CSO team.

Modified: 2017-11-14