Commit d318aaa8 authored by Edita Kizinevic's avatar Edita Kizinevic
Browse files

Add FRONTIER_LOG_LEVEL=warning

parent 930bcdbf
......@@ -2,7 +2,7 @@
shopt -s expand_aliases
SCRIPT_REVISION="2020-03-30"
SCRIPT_REVISION="2020-07-17"
MAINTAINERS="Dave Dykstra and Edita Kizinevic"
SCRIPT_NAME=`basename "$0"`
......@@ -162,7 +162,7 @@ check_proxies() {
if ($2 && ! $ever_succeeded) || ! $2; then
proxy_IP=`echo $proxy | sed "s/$hostname/$IP_address/g"`
echo "Query $proxy started:" `date`
echo 'select 1 from dual' | FRONTIER_SERVER="$proxy_IP(serverurl=http://cmsfrontier.cern.ch:8000/FrontierProd)(failovertoserver=no)" FRONTIER_ID=$FRONTIER_ID fn-req > $output
echo 'select 1 from dual' | FRONTIER_LOG_LEVEL=warning FRONTIER_SERVER="$proxy_IP(serverurl=http://cmsfrontier.cern.ch:8000/FrontierProd)(failovertoserver=no)" FRONTIER_ID=$FRONTIER_ID fn-req > $output
if grep -q " 1 NUMBER" $output ; then
echo "$proxy_IP is OK"
ever_succeeded=true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment