Pandora FMS Community

pandora_agent FTP doesn't work in Linux

greypanda · 29 oct 2007, 21:32 · 2 mensajes · 50 visitas

  1. Inicio del debate

    My test system is on a private LAN, so rather than going through the SSH key madness, I tried to make the agent use FTP. It connects to FTP OK after setting up .netrc, but no files are transmitted. After looking at the code, the only thing it does is establish the FTP connection. What is missing here? Should there be more code, or is it expecting a MACDEF in .netrc to do the transfer? It works fine with SSH.

  2. Let's see, if you do something like ftp pandora_server_ip, is it transmited well and you can see that file in the /var/spool/pandora/data_in/ of the server ? The macdef have to be init, so the line above is expected in the .netrc macdef init Let us know what happens if you do ftp pandora_server_ip... Manuel PD: Are you from California? Nil (pandora project leader) is over there on vacation :-)

Entra en tu cuenta para publicar.