diff --git a/openvidu-server/deployments/pro/docker-compose/media-node/beats/copy_config_files.sh b/openvidu-server/deployments/pro/docker-compose/media-node/beats/copy_config_files.sh index 1dfaf54d..57c71e1a 100644 --- a/openvidu-server/deployments/pro/docker-compose/media-node/beats/copy_config_files.sh +++ b/openvidu-server/deployments/pro/docker-compose/media-node/beats/copy_config_files.sh @@ -3,5 +3,4 @@ echo "Creating dir for beats" mkdir -p /opt/openvidu/beats echo "Copying beat config files" cp /beats/filebeat.yml /opt/openvidu/beats/filebeat.yml -cp /beats/metricbeat-elasticsearch.yml /opt/openvidu/beats/metricbeat-elasticsearch.yml -cp /beats/metricbeat-openvidu.yml /opt/openvidu/beats/metricbeat-openvidu.yml \ No newline at end of file +cp /beats/metricbeat-elasticsearch.yml /opt/openvidu/beats/metricbeat-elasticsearch.yml \ No newline at end of file diff --git a/openvidu-server/deployments/pro/docker-compose/media-node/install_media_node.sh b/openvidu-server/deployments/pro/docker-compose/media-node/install_media_node.sh index bc197de0..403b801e 100755 --- a/openvidu-server/deployments/pro/docker-compose/media-node/install_media_node.sh +++ b/openvidu-server/deployments/pro/docker-compose/media-node/install_media_node.sh @@ -74,10 +74,6 @@ new_media_node_installation() { --output "${BEATS_FOLDER}/metricbeat-elasticsearch.yml" || fatal_error "Error when downloading the file 'metricbeat-elasticsearch.yml'" printf '\n - metricbeat-elasticsearch.yml' - curl --silent ${DOWNLOAD_URL}/openvidu-server/deployments/pro/docker-compose/media-node/beats/metricbeat-openvidu.yml \ - --output "${BEATS_FOLDER}/metricbeat-openvidu.yml" || fatal_error "Error when downloading the file 'metricbeat-openvidu.yml'" - printf '\n - metricbeat-openvidu.yml' - curl --silent ${DOWNLOAD_URL}/openvidu-server/deployments/pro/docker-compose/media-node/beats/copy_config_files.sh \ --output "${BEATS_FOLDER}/copy_config_files.sh" || fatal_error "Error when downloading the file 'copy_config_files.sh'" printf '\n - copy_config_files.sh' @@ -205,10 +201,6 @@ upgrade_media_node() { --output "${TMP_FOLDER}/metricbeat-elasticsearch.yml" || fatal_error "Error when downloading the file 'metricbeat-elasticsearch.yml'" printf '\n - metricbeat-elasticsearch.yml' - curl --silent ${DOWNLOAD_URL}/openvidu-server/deployments/pro/docker-compose/media-node/beats/metricbeat-openvidu.yml \ - --output "${TMP_FOLDER}/metricbeat-openvidu.yml" || fatal_error "Error when downloading the file 'metricbeat-openvidu.yml'" - printf '\n - metricbeat-openvidu.yml' - curl --silent ${DOWNLOAD_URL}/openvidu-server/deployments/pro/docker-compose/media-node/beats/copy_config_files.sh \ --output "${TMP_FOLDER}/copy_config_files.sh" || fatal_error "Error when downloading the file 'copy_config_files.sh'" printf '\n - copy_config_files.sh' @@ -282,9 +274,6 @@ upgrade_media_node() { mv "${TMP_FOLDER}/metricbeat-elasticsearch.yml" "${MEDIA_NODE_PREVIOUS_FOLDER}/beats" || fatal_error "Error while updating 'metricbeat-elasticsearch.yml'" printf '\n - metricbeat-elasticsearch.yml' - mv "${TMP_FOLDER}/metricbeat-openvidu.yml" "${MEDIA_NODE_PREVIOUS_FOLDER}/beats" || fatal_error "Error while updating 'metricbeat-openvidu.yml'" - printf '\n - metricbeat-openvidu.yml' - mv "${TMP_FOLDER}/copy_config_files.sh" "${MEDIA_NODE_PREVIOUS_FOLDER}/beats" || fatal_error "Error while updating 'copy_config_files.sh'" printf '\n - copy_config_files.sh'