Pandora FMS Community

Non-Initialized Module

xcezzz · 31 mar 2010, 21:16 · 5 mensajes · 55 visitas

  1. Inicio del debate

    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.

    [

    ](//pandorafms.com/community/media/forum/0/5492=42-Screen-shot-2010-03-31-at-1.13.42-PM.png)

    [

    ](//pandorafms.com/community/media/forum/0/5492=43-Screen-shot-2010-03-31-at-1.14.36-PM.png)

  2. 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.

  3. 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?

  4. 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?

  5. I tried validating the SSH Host key authentication and I tried using the SSH plugin as well. This doesn’t seem to work well. I am still pretty pissed as I am having problems creating my custom plugin. Is there any way around? Help! why is outlook express problems in Windows computers (Link not available anymore)

Entra en tu cuenta para publicar.