Pages: [1]   Go Down
Author Topic: Non-Initialized Module  (Read 1572 times)
0 Members and 2 Guests are viewing this topic.
xcezzz
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« on: March 31, 2010, 06:16:08 PM »

Having trouble setting up a custom plugin for pandoraFMS.

Problem is doesn't seem how I try to configure the plugin it always shows up as "non initialized module".
I can run the plugin from command line without a problem. And I do not know if there are logs that would show me a reason as to why this is not initialized.

I have tried to create the plugin manually through the web interface by following the guide "Using SSH Server Plugin in PandoraFMS".

I have even followed the guide for creating a .pspz version of the plugin and the same non initialized issue occurs.

WTF does non initialized module mean? How can I find out what it means? How can I fix it?

I have attached screenshots of how I currently have it configured. This may not be properly how I want it to work once it is all said and done but I just wanted to try and get it out of non-initialized state.





* Screen shot 2010-03-31 at 1.13.42 PM.png (87.88 KB, 784x865 - viewed 39 times.)

* Screen shot 2010-03-31 at 1.14.36 PM.png (49.78 KB, 770x529 - viewed 31 times.)
Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #1 on: April 04, 2010, 10:42:55 PM »

Have you read ALL the documentation about the SSH Plugin usage ?

You MUST validate the SSH Host key authentication FIRST to try to use the SSH plugin, and before copying the SSH public key to the target host into the user you will use in the plugin.
Logged

-- See you in the other screen.

xcezzz
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« Reply #2 on: April 06, 2010, 05:08:36 PM »

YES I have read ALL the documentation.

The first thing I setup was ssh auth keys!

But I do not understand 'before copying the SSH public key to the target host into the user you will use in the plugin'

What does that mean?


Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #3 on: April 08, 2010, 06:28:19 PM »

The sentence : "Before copying the SSH public key to the target host into the user you will use in the plugin"... is bad written, sorry for the confussion.

This means that before use the plugin from pandora, you need to do a "manual" host key authentication, that means, do a ssh to destinatioin with destination user, using the same user pandora_server will use (root by default), for example:

ssh root@yourdestinationhost

Should ask something about validate the destination host. Say YES and after that, host  authentication is done and plugin should work.

I'm going to update the docs to avoid more confussion in the future.


Have you check that from the pandora server (running as root) you can do this :

# ssh root@yourdestinationhost ls -la /

If that ask you something, then is wrong. It works fine, we have a problem here with the pandora server or some of parameters introduced in pandora. If that's the case, set verbosity to 10 in pandora_server,conf, restart the server and watch in detail the pandora server logs.


YES I have read ALL the documentation.

The first thing I setup was ssh auth keys!

But I do not understand 'before copying the SSH public key to the target host into the user you will use in the plugin'

What does that mean?



Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST