pandorafms/pandora_plugins/FTP/ftp_plugin/ftp.conf

52 lines
1.4 KiB
Plaintext
Raw Normal View History

2017-11-14 15:17:27 +01:00
# Example of configuration file for FTP Agent/Plugin for Pandora FMS.
#======================================================================
#---------- FTP access parameters / General parameters --------------
#======================================================================
# User and password for FTP connection
2019-09-10 14:26:50 +02:00
conf_ftp_user root
2017-11-14 15:17:27 +01:00
# Use "" if your password is in blank
2019-09-10 14:26:50 +02:00
conf_ftp_pass Password
#Port for FTP/SFTP connection
#conf_ftp_port 22
#Set this parameter to 1 if you want stablish an SFTP connection
conf_ftp_sftp 1
2017-11-14 15:17:27 +01:00
# Configure complete name of ftp file --> upload (Local)
2019-09-10 14:26:50 +02:00
conf_ftp_putfile /tmp/test_upload.zip
2017-11-14 15:17:27 +01:00
# Configure name of ftp file --> upload (FTP server)
2019-09-10 14:26:50 +02:00
conf_ftp_putname /tmp/test.zip
2017-11-14 15:17:27 +01:00
# Configure Ip for FTP Connection
conf_ftp_host localhost
# Configure name of ftp file --> download (FTP server)
2019-09-10 14:26:50 +02:00
conf_ftp_getfile /tmp/test.zip
2017-11-14 15:17:27 +01:00
# Configure complete name os ftp file --> download (Local)
2019-09-10 14:26:50 +02:00
conf_ftp_getname /tmp/test.zip
2017-11-14 15:17:27 +01:00
# Configure Operating System (Unix or Windows)
conf_operating_system Unix
# Opcion para los archivos que se vayan a comparar.
# 1.- Si desea modificar el nombre del archivo que se descarga antiguo por el nuevo en el caso de que hayan cambiado escriba write
# 2.- si desea que no se modifiquen escribe notwrite
conf_ftp_compare write
2019-09-10 14:26:50 +02:00
conf_ftp_compare_file /tmp/prueba.zip
2017-11-14 15:17:27 +01:00
2019-09-10 14:26:50 +02:00
conf_local_comp_file /tmp/prueba.zip
2017-11-14 15:17:27 +01:00
conf_local_downcomp_file /tmp/prueba.zip