ANYTHING i put into a Linux script SAM component gives me the error "Can't identify dynamic column definitions from script output".
Below is a very simple script to test port availability against an IP. Does anyone know what i did wrong? Im starting with a simple script to try to bypass this error message.
This script works locally on the host as expected.
#!/bin/bash
#
tst="blank"
# test if port is available
if echo | nc -v 10.X.X.X 8009; then
tst="it is up"
else
tst="it is down"
fi
printf "Message.${tst}\n"
printf "Statistic.1"
exit 0