# @file sprout_base_diags
#
# Copyright (C) Metaswitch Networks 2014
# If license terms are provided to you in a COPYING file in the root directory
# of the source code repository by which you are accessing this code, then
# the license outlined in that COPYING file applies to your use.
# Otherwise no rights are granted except for those provided to you by
# Metaswitch Networks in a separate written agreement.

# This script is executed in the context of the clearwater_diags_monitor script
# (in the clearwater-infrastructure project).

. /etc/clearwater/config

# Check we can contact homestead and bono.
check_connectivity_to_domain "$hs_hostname" 8888
check_connectivity_to_domain "$home_domain" 5058
