ftp backup log

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms_system_support
Posts: 39
Joined: Tue Jun 17, 2014 2:58 am

ftp backup log

Post by nms_system_support »

Hi,

Scheduled ftp backup is not working. Even though no error appears in GUI the backup file is never transfered at remote destination.

Test connection and test upload is working properly.

Could anyone knows where is the log for ftp in case we can find an error? or any other idea would be helpful.

thank you
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: ftp backup log

Post by cdienger »

What version of XI is this for? Can you provide a screenshot of the FTP settings on XI?

Try setting the fequency to Daily and just a few minutes in the future for the current day and then run the following on the cli:

Code: Select all

tcpdump -y install tcpdump
tcpdump -i any host <IP_OF_FTP_SERVER> and port <FTP_PORT_NUMBER_FOUND_UNDER_FTP_SETTINGS>
You should see some traffic printed to the screen when a backup occurs. If you do then we know an attempt to transfer is being made and should run:

Code: Select all

tcpdump -s 0 -i any host <IP_OF_FTP_SERVER> -w ftp.pcap
and schedule another backup. PM the ftp.pcap file this creates as it may contain sensitive info.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nms_system_support
Posts: 39
Joined: Tue Jun 17, 2014 2:58 am

Re: ftp backup log

Post by nms_system_support »

I have to admit that tcpdump -s 0 -i any host <IP_OF_FTP_SERVER> -w ftp.pcap helped a lot.

The problem was with the "The amount of backups you'd like to keep before replacing the oldest backup."

Because we encrypt every backup file in remote server Nagios couldn't find the specific file that had to delete so the backup process never ended.

It is clear now.

Thank you for the help!
kyang

Re: ftp backup log

Post by kyang »

Closing this as resolved, if you have more questions feel free to create another forum topic.

Thank you for using the Nagios Support Forums.
Locked