Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • No module connection

    Posted by JPSelter on February 26, 2010 at 18:31

    I am using the openSuSE Pandora VMImage. Great thing! But… I cannot get a connection to a modules server. I can add a ICMP check module, or an NIC#1 Status module, this is all working for the server. But when I add an already defined module to the agent, it won´t initialize. The client-agent is working perfectly, there is a network connection, but the server can´t see the agent service.

    First I thought there is a firewall active on the server, but it´s off by default…

    toini replied 14 years, 11 months ago 3 Members · 7 Replies
  • 7 Replies
  • daniels

    Member
    March 1, 2010 at 22:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Looks like a communication problem between pandora server and the monitored agents..

    Are you using tentacle? Have you tried ssh between the hosts? Are they at different networks?

  • JPSelter

    Member
    March 2, 2010 at 12:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I learned much about the process between agent and server yesterday. It seems as if the agent is unable zu transfer the datafile into the server´s data_in folder. But I don´t have an explanation why.

    I had a standalone test-server last week where it worked perfectly. After that I used the ready-to-start VMWare image from this site, reinstalled the agent and since then it doesn´t work anymore. I tried a self-made Debian VMWare install but still it doesn´t work.

    I used SSH instead but still no luck. I also tested the connection with SSH over the script command, it says “file copied succesfully”… either the file cannot be transfered or the file is never created…

  • JPSelter

    Member
    March 2, 2010 at 13:19
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I can see another thing happening here:

    Pandora log says “Unable to copy at /var/spool/pandora/data_in/SERVERXY.2753.data”

    but

    the pandoraagent with parameter –test-ssh says “succesful copied testfile”

    Sounds like a permission problem somewhere… hmmmm…

  • daniels

    Member
    March 2, 2010 at 17:45
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Check if the tentacle service is up and running at pandora server.

    Tentacle is much easier to set up than ssh, but if you need, I can help you with ssh setup.

  • toini

    Member
    March 26, 2010 at 18:47
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I’m having exactly the same problem (–test-ssh is successful but still I get “Unable to copy at /var/spool/pandora/data_in/SERVERXY.2753.data”).

    JPSelter: were you able to solve the issue?

  • daniels

    Member
    March 26, 2010 at 20:35
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Check the permissions of the .ssh folder and from the authorized_keys file. It MUST be:

    700 for .ssh
    640 for authorized_keys

    Hope this helps. Regards.

  • toini

    Member
    April 1, 2010 at 14:50
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Apparently there’s nothing wrong with copying the files to the server. The files are transferred fine and pandora server processes them.

    But still: all pandora agents’ log files are getting filled with these kinds of messages:

    2010-04-01 10:36:06 Unable to copy at /var/spool/pandora/data_in/XXXX.21734.data

    What the heck? What’s the error message for if everything is working..?