Exit code 000 after snapshot


(Alberto M) #1

Hello, I use the standard method to produce snapshots of my es index and I try to verify for any problem. So I check in this way:

VERIFY_RESPONSE=$(curl --write-out %{http_code} --silent --output ${tempfile} -XPUT "http://${SERVER_FQDN}:${SERVER_PORT}/_snapshot/${REPO}/${SNAP_NAME}?wait_for_completion=true")
if [ "${VERIFY_RESPONSE}" -eq "200" ]
then ....

I notice that sometimes the exit code is not '200' but it is '000'; I cannot understand if it is an error or not. Can you explain, please?


(Mark Walkom) #2

It will never return a 000, sounds like something else.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.