Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support pandora_agent FTP doesn’t work in Linux

  • pandora_agent FTP doesn’t work in Linux

    Posted by greypanda on October 29, 2007 at 21:32

    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.

    manu replied 17 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • manu

    Member
    October 30, 2007 at 01:52
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    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 🙂