Ranajit Jana
2013-06-20 11:53:32 UTC
Ranajit Jana [http://community.zenoss.org/people/ranajitjana] created the discussion
"Rabbit MQ Device Not able to Model but able to connect via putty"
To view the discussion, visit: http://community.zenoss.org/message/73684#73684
--------------------------------------------------------------
Hi,
I am able to connect to the rabbit MQ instance with remote ssh and able to run rabbitmqctl command thus confirming the public certificate is running
fine.With Remote ssh i did not specify a password.
But when i add the same to the Device it gives authentication error.
SSH authentication failed-no password or public key specified
I have set the following configuration properties
 zCommandUsername - zenoss
zCommandPassword -Â
zKeyPath - /home/zenoss/.ssh/authorized_keys
I am surprised to see once it got changed to ~/home/zenoss/.ssh/authorized_keys . Also tested with ~/.ssh/authorized_keys
In the server running Rabbit MQ the authorized_keys file is existing.
Error is the same
Find the logs , when I am trying to model the device
2013-06-20 17:18:52,127 INFO zen.ZenModeler: Connecting to localhost:8789
2013-06-20 17:18:52,131 INFO zen.ZenModeler: Connected to ZenHub
2013-06-20 17:18:52,227 INFO zen.ZenModeler: Collecting for device 10.2.65.52
2013-06-20 17:18:52,236 INFO zen.ZenModeler: No WMI plugins found for 10.2.65.52
2013-06-20 17:18:52,237 INFO zen.ZenModeler: No Python plugins found for 10.2.65.52
2013-06-20 17:18:52,237 INFO zen.ZenModeler: Using SSH collection method for device 10.2.65.52
2013-06-20 17:18:52,237 INFO zen.ZenModeler: plugins: zenoss.ssh.RabbitMQ
2013-06-20 17:18:52,238 INFO zen.ZenModeler: SNMP monitoring off for 10.2.65.52
2013-06-20 17:18:52,238 INFO zen.ZenModeler: No portscan plugins found for 10.2.65.52
2013-06-20 17:18:53,303 ERROR zen.SshClient: SSH authentication failed - no password or public key specified
2013-06-20 17:18:53,305 INFO zen.CmdClient: command client finished collection for 10.2.65.52
2013-06-20 17:18:53,306 INFO zen.ZenModeler: No change in configuration detected
2013-06-20 17:18:53,307 INFO zen.ZenModeler: Scan time: 1.08 seconds
2013-06-20 17:18:53,310 INFO zen.ZenModeler: Daemon ZenModeler shutting down

--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73684#73684]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Rabbit MQ Device Not able to Model but able to connect via putty"
To view the discussion, visit: http://community.zenoss.org/message/73684#73684
--------------------------------------------------------------
Hi,
I am able to connect to the rabbit MQ instance with remote ssh and able to run rabbitmqctl command thus confirming the public certificate is running
fine.With Remote ssh i did not specify a password.
But when i add the same to the Device it gives authentication error.
SSH authentication failed-no password or public key specified
I have set the following configuration properties
 zCommandUsername - zenoss
zCommandPassword -Â
zKeyPath - /home/zenoss/.ssh/authorized_keys
I am surprised to see once it got changed to ~/home/zenoss/.ssh/authorized_keys . Also tested with ~/.ssh/authorized_keys
In the server running Rabbit MQ the authorized_keys file is existing.
Error is the same
Find the logs , when I am trying to model the device
2013-06-20 17:18:52,127 INFO zen.ZenModeler: Connecting to localhost:8789
2013-06-20 17:18:52,131 INFO zen.ZenModeler: Connected to ZenHub
2013-06-20 17:18:52,227 INFO zen.ZenModeler: Collecting for device 10.2.65.52
2013-06-20 17:18:52,236 INFO zen.ZenModeler: No WMI plugins found for 10.2.65.52
2013-06-20 17:18:52,237 INFO zen.ZenModeler: No Python plugins found for 10.2.65.52
2013-06-20 17:18:52,237 INFO zen.ZenModeler: Using SSH collection method for device 10.2.65.52
2013-06-20 17:18:52,237 INFO zen.ZenModeler: plugins: zenoss.ssh.RabbitMQ
2013-06-20 17:18:52,238 INFO zen.ZenModeler: SNMP monitoring off for 10.2.65.52
2013-06-20 17:18:52,238 INFO zen.ZenModeler: No portscan plugins found for 10.2.65.52
2013-06-20 17:18:53,303 ERROR zen.SshClient: SSH authentication failed - no password or public key specified
2013-06-20 17:18:53,305 INFO zen.CmdClient: command client finished collection for 10.2.65.52
2013-06-20 17:18:53,306 INFO zen.ZenModeler: No change in configuration detected
2013-06-20 17:18:53,307 INFO zen.ZenModeler: Scan time: 1.08 seconds
2013-06-20 17:18:53,310 INFO zen.ZenModeler: Daemon ZenModeler shutting down

--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73684#73684]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]