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 Agent on windows don’t work

  • Agent on windows don’t work

    Posted by Anonymous on July 6, 2006 at 21:05

    Hi, i have installed the agent on windows server but don’t comunicate with the Master Server.
    the SSH connection work if i try to connect with putty

    My Master Server is on Windows 2003 and the server that i want to controll is also win2003.

    On Agent machine the service is on, but i don’t see a port 22 open to Master server.
    the pandora_agent.conf is configured

    please help.

    manu replied 18 years, 2 months ago 7 Members · 15 Replies
  • 15 Replies
  • raul

    Member
    July 7, 2006 at 12:09
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Which is the version of Pandora agent that you have installed?

  • Anonymous

    Guest
    July 7, 2006 at 12:50
    Like it
    Up
    0
    Down
    Drop it
    ::

    1.2a, sorry i forget to write it in a last message 😉

  • raul

    Member
    July 7, 2006 at 15:44
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    -2
    Down
    Drop it
    ::

    Well,

    which is the user you’re using to execute the service? Windows stores the ssh keys in the user’s branch of registry, so the be careful with that.

    Please read the Pandora Agents Install Guide how to change the user that inits the service, if this is the problem, at
    (this docs are stored at the old page of Pandora, because the windows 1.2a is, basically, the same as 1.1)
    http://prdownloads.sourceforge.net/pandoramon/PandoraAgentsInstall_1.1.zip (in english)

    http://prdownloads.sourceforge.net/pandoramon/Pandora_Agents_Install_v1.1.es.zip (spanish)

  • Anonymous

    Guest
    July 7, 2006 at 19:37
    Like it
    Up
    0
    Down
    Drop it
    ::

    I have update the version of all software to 1.2 beta2.
    now i have a clear error in log of agent

    07-07-06 17:31:32: Pandora Agent: Authentication Failed when connecting to 10.96.30.196

    i have try with putty to connect from same server to 10.96.30.196 and it work, but if use a agent … don’t work…. why?
    this is may .conf
    # General Parameters
    # ==================

    server_ip 10.96.30.196
    server_path /opt/pandora_server/data_in
    temporal “c:pxjdata_out”
    interval 1
    agent_name vmware_DB

    # Module Definition

    I have another question, where the Pandoraagent.exe take a user? beacuse use a LOCALSYSTEM user on a service.

    I prefer a new version of agent… it’s more clear and easy to install and to check.
    thaks to all

  • raul

    Member
    July 8, 2006 at 23:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    -1
    Down
    Drop it
    ::

    Well, the user is only for Pandora Agent 1.2a and before 😀

    We are writing all the docs before the release of the 1.2 Final.

    Please, check that you have created the /opt/pandora_server/data_in (in the server side, be sure the user which runs pandora have access to this directory) and c:pxjdata_out folder and you can write there.

    Also, for checking, try to put on the interval something a bit higher, like 200.

    Also, do you have any modules configured?

  • Sancho

    Administrator
    July 9, 2006 at 21:51
    2309 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    have you put your id_dsa.pub and id_dsa files in ./key directory ?.

    (from INSTALL file):

    keyid_dsa :: Private key to access the Pandora server using SSH
    keyid_dsa.pub :: Public key to access the Pandora server using SSH

    Also you may try to exec in commandline pandoraservice.exe with –test-ssh argument to test SSH funcionality (this option is not documented at this time, so don’t look for more information in docs 🙂

  • Anonymous

    Guest
    July 10, 2006 at 17:03
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi all!!!
    the problem is solved… in part 😉
    Now is authenticated, thanks slerena!!! i forget to change the user while generated the key… sorry, now i have this problem:
    when copy to remote location appear /ssh.test, but in windows don’t use / but
    Is it possible to correct this problem, because don’t copy the file.

    Authentication successful.
    Host fingerprint: DE:AA:85:3D:9A:D7:7C:32:0E:4F:FD:E8:E7:66:E8:38
    Created a blank XML file in C:pandora_agents_1.2-Beta2.tarpandora_agentswin32
    in empssh.test
    Remote copying C:pandora_agents_1.2-Beta2.tarpandora_agentswin32in empssh
    .teston server pandorasrv at pandorasrvdata_in/ssh.test
    An unhandled exception happened.

  • steve-o

    Member
    July 11, 2006 at 12:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi!

    I’m the developer of the Pandora Windows agent, so I hope I can help you. I suppose that the Pandora server is a UNIX/Linux machine, so the path in these O.S. uses ‘/’ instead of ”. Check the variable ‘server_path’ in the Pandora Windows agent configuration, and replace the ” with ‘/’. In your case, it will be something like that:

    server_path pandorasrvdata_in
    

    And should be replaced by

    server_path /pandorasrv/data_in
    

    I suppose that Pandora server has been installed in the /pandorasrv/ directory. I would suggest you to install in /opt/pandorasrv instead, which is a cleaner place to install it.

    Thanks for using Pandora.

  • Hellraiser

    Member
    July 17, 2006 at 15:24
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi… i have found a solution, thanks to everybody to push me to fine a solution!

    i need to change in the server_path the path

    es if you use cygwin for openssh

    server_path /cygdrive/c/”complete path to data in”/
    If the drive is C put C after cygdrive, and use always the / not

    Thanks to all

  • raul

    Member
    September 8, 2006 at 02:38
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    You can change the mount prefix in cygwin from “/cygdrive” to “/”, running from the cygwin shell window:

    mount -s –change-cygdrive-prefix /

  • allentiak

    Member
    November 14, 2006 at 02:15
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    i forget to change the user while generated the key

    In which OS is the server running? Which user did you use to generate the ssh key for the Windows agent? Which user does run the agent under Windows?

  • raul

    Member
    November 14, 2006 at 04:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    i forget to change the user while generated the key

    In which OS is the server running? Which user did you use to generate the ssh key for the Windows agent? Which user does run the agent under Windows?

    Hi!

    It’s supposed the agent runs under windows using the system account. The installer do that. There’s also a small bug (solved in the last binary at the SVN) with keys and carriage return at the end of the key file (see http://www.openideas.info/phpbb/viewtopic.php?t=231)

    Raúl

  • Makita

    Member
    December 12, 2006 at 18:05
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ——————————————————————————–

    Hi, i have installed the agent on windows server but don’t comunicate with the Master Server.
    the SSH connection work if i try to connect with putty

    My Master Server is on Windows 2003 and the server that i want to controll is also win2003.

    On Agent machine the service is on, but i don’t see a port 22 open to Master server.
    the pandora_agent.conf is configured

    😀 😆 😛 😉

  • allentiak

    Member
    December 12, 2006 at 18:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi, i have installed the agent on windows server but don’t comunicate with the Master Server.
    the SSH connection work if i try to connect with putty

    Check the SSH keys generation. Check http://www.openideas.info/phpbb/viewtopic.php?p=646#646

  • manu

    Member
    December 13, 2006 at 13:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ——————————————————————————–

    Hi, i have installed the agent on windows server but don’t comunicate with the Master Server.
    the SSH connection work if i try to connect with putty

    My Master Server is on Windows 2003 and the server that i want to controll is also win2003.

    On Agent machine the service is on, but i don’t see a port 22 open to Master server.
    the pandora_agent.conf is configured

    😀 😆 😛 😉

    Hi makita.
    I expect you read what raul pasted, if so, you will have well-generated keys either on your server and on you agent one.
    You could test your keys using c:Pandora_agent_dirPandoraAgent.exe –test-ssh
    There you will able to see if you generated it correctly and if you configure your sshd server succesfully.