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:05Hi, 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 puttyMy 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 configuredplease help.
manu replied 18 years, 2 months ago 7 Members · 15 Replies -
15 Replies
-
-
::
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
GuestJuly 7, 2006 at 19:37::I have update the version of all software to 1.2 beta2.
now i have a clear error in log of agent07-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 -
::
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?
-
::
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 SSHAlso 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
GuestJuly 10, 2006 at 17:03::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. -
::
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.
-
::
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 / notThanks to all
-
-
-
::
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
-
::
——————————————————————————–
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 puttyMy 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, 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 puttyCheck the SSH keys generation. Check http://www.openideas.info/phpbb/viewtopic.php?p=646#646
-
::
——————————————————————————–
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 puttyMy 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.