02-26-2018 07:01 AM - edited 03-19-2019 01:10 PM
Hi all,
i'm running CallManager 11.5 and i have to schedule transferring of logs from Publisher to some SFTP server. These are the steps to configure scheduling from RTMT:
System-->Trace&Log Central-->Schedule collection-->selected Tomcat Security Logs and Security Logs-->Start\End Date\frequency --> Download files.
Then i specified SFTP server parameters.
When i look inside SFTP server i can see two directories created: syslog and tomcat. In Tomcat directory i can see the log file transferred (named "security00010.txt"), but in Syslog directory nothing (the file inside should be named "secure").I tried transferring "secure" by using WINscp and it was successfully, to exclude SFTP server machine issue. It seems that the only difference between files is the extension. But why RTMT cannot transfer "secure" over SFTP? If i download "secure" manually from RTMT everything goes well.
thanks
regards
03-06-2018 06:32 AM
Collecting Trace Collection Services this is the line of interest:
2018-02-27 17:35:01,949 DEBUG [TCTSvcPooledThrd#4] tctutil.SFTPLinuxScriptClient - SFTPLinuxScriptClient.checkSessionLog(): buffer=Couldn't open local file "secure" for reading: Permission denied.
Any idea about this?
03-06-2018 09:50 PM
03-07-2018 12:59 AM
yes it works by CLI.
03-08-2018 03:13 AM
I'd employ bash expect\send scripting and cron at this point. I'm posting update about RTMT behaviour if possible.
Thanks for lead me to CLI commands.
regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide