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 Can not connect to pandora_server v1.2 beta2

  • Can not connect to pandora_server v1.2 beta2

    Posted by x_vag on November 6, 2006 at 20:05

    Hi,

    My pandora agent (winXP) can not connect to my pandora server (centos 4) inspite of the successful ssh test….
    See below…

    C:pandora>PandoraAgent.exe –test-ssh
    Public key file: C:pandorakeyid_dsa.pub
    Private key file: C:pandorakeyid_dsa
    Connecting with 10.100.100.40…
    Authentication successful.
    Host fingerprint: 50:4D:7F:A6:1A:6F:98:A9:EE:38:1D:9E:04:EA:C3:E4
    Created a blank XML file in C:pandoradata_outssh.test
    Remote copying C:pandoradata_outssh.teston server 10.100.100.40 at /opt/pando
    ra/data_in/ssh.test
    Successfuly file copied to remote host
    Successfuly disconnected from remote host
    The SSH test was successful!

    Pandora_agent conf:

    server_ip 10.100.100.40
    server_path /opt/pandora/data_in
    temporal C:pandoradata_out
    interval 300
    host_name pandorawin
    private_key C:pandorakeyid_dsa
    debug 1

    # Module Definition
    # =================

    module_begin
    module_name proctotal
    module_type generic_data
    module_system_proc_total
    module_end

    Any ideas…?
    Thanks in advance,
    Vagelis.

    x_vag replied 17 years, 11 months ago 2 Members · 3 Replies
  • 3 Replies
  • raul

    Member
    November 6, 2006 at 22:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Pandora_agent conf:

    server_ip 10.100.100.40
    server_path /opt/pandora/data_in
    temporal C:pandoradata_out
    interval 300
    host_name pandorawin
    private_key C:pandorakeyid_dsa
    debug 1

    First, which version do you have of Windows Agent?

    If debug is 1, the c:pandoratemp folder should have the generated files (.xml) every 300 seconds (interval), this option works from Windows Agent 1.2 beta 3. Try to put debug to 0 if you have an older version (Windows agent 1.2 beta 2 or before)

    Also you HAVE TO add your agent to Pandora Web Console (from Administration>Manage Agents>Create Agent)

    It’s important that the “agent name” MUST be the same as the “host_name” parameter in agent.conf file (in this case, pandorawin)

    Also verify if you can find the files into the /opt/pandora/data_in folder.
    Also check permissions.

    Good luck!

    Raúl

  • x_vag

    Member
    November 7, 2006 at 16:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    My pandora agent’s version is 1.2 beta2…so i changed debug mode from 1 to 0….
    Also please….look something else…
    I changed in the pandora_agent.conf “host_name pandorawin” -> “agent_name pandorawin” and now i’m able to see this “pandorawin.28759.data” in directory /opt/pandora/data_in.
    I think that this is a step forward, but still can not “see” my agent in webconsole…
    I also changed, just for test, the mode of data_in dir to 777….but..

    Many thanks for your time….
    Vagelis.

  • x_vag

    Member
    November 7, 2006 at 16:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi…again .
    I just saw that my agent finally can communicate with the server…. 🙂
    I think that this change “host_name pandorawin” -> “agent_name pandorawin” finally works….

    Many many thanks Raul,
    Vagelis