I am quite new at all this scripting and is struggling.
I keep getting following output:
Exit Code: 127
Message: Script message not found/invalid script message format
Raw Output: -bash: OpManager_50000003303_1612338271947.sh: command not found
The script is as follows:
Command Line:
${FileName}.sh
Script Body:
#!/bin/bash
curl $1 #http://localhost:9200/_cat/allocation/${DeviceName}?h=dp
count=$?
echo "Message: Count"
printf "$count"
exit 0
This might be all wrong and I hope some of you are able to help out