Hi all,
I added a useful (for me at least) functionnality to the agent configuration:
the configuration of the scp port in pandora_agent.sh
at the beginning of the file:
if [ ! -z "`echo $a | grep -e '^server_port'`" ]
then
SERVER_PORT=`echo $a | awk '{ print $2 }' `
echo "$TIMESTAMP - [SETUP] - Server IP Address is $SERVER_PORT" >> $PANDORA_HOME/pandora.log
fi
at the end:
scp -P $SERVER_PORT $PANDORA_FILES pandora@$SERVER_IP:$SERVER_PATH > /dev/null 2> /dev/null
And in the pandora_agent.conf file:
server_ip MyDNSServerName
server_port 22
server_path /opt/pandora/pandora_server/data_in
I needed this functionnality, so I added it!
by
Denis
Thanks!, it has been added to code repository and will be published for 1.3 version.