Welcome to Pandora FMS Community!

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

  • Test pandora_agent_daemon Ubuntu

    Posted by Luca on April 27, 2023 at 14:58

    Hello,

    there is method to test pandora_agent that sand data via tentacle protocol?

    I have configured pandora agent daemon on Ubuntu Server that contacting my Pandora Console via tentacle protocol.

    Thanks in advance

    Luca replied 11 months, 3 weeks ago 2 Members · 5 Replies
  • 5 Replies
  • Sergio

    Administrator
    April 27, 2023 at 15:03
    909 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello Luca,

    You can try to send any files through the Tentacle protocol by using this command:

    If you don’t receive any message it means that it has been sent.

    Also you can check that the file arrived at /var/spool/pandora/data_in

    tentacle_client -t 10 -r 3 -a <PandoraIP> -p 41121 <path/to/File>
  • Luca

    Member
    April 27, 2023 at 15:16
    272 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks for the answer. I have test with you command and i don’t receive any message: good!

    I have not the possibility to connect via ssh to pandora server but only via https.

    I ask if gui part I have to do something or I already see the agent created because i don’t see the agent name via GUI.

    Thanks in advance

    • Luca

      Member
      April 27, 2023 at 15:22
      272 Karma points
      Community rank: tentacle-noob-1 Tentacle noob
      Like it
      Up
      0
      Down
      Drop it
      ::

      Via GUI now i see the agent but list of modules is empty. How configure the module for Host Alive for example? Via agent side or pandora server side?

      Thanks

    • Sergio

      Administrator
      April 27, 2023 at 15:24
      909 Karma points
      Community rank: tentacle_master_icon Tentacle Master
      Like it
      Up
      0
      Down
      Drop it
      ::

      Hello,

      If the Agent is executed and the configuration file (pandora_agent.conf) is pointing to the Server IP in the right parameter it should receive the XML and create the Agent with the name you specified in the conf, or with a random name in case you didn’t specified any name.

      It is important that the Agent is able to reach the PandoraFMS server as you already checked it does.

      You can review the Log pandora_agent.log to see if there’s any error messages in case you don’t receive the XML.

      Kind regards,

      Sergio B.

      • Luca

        Member
        April 27, 2023 at 16:07
        272 Karma points
        Community rank: tentacle-noob-1 Tentacle noob
        Like it
        Up
        0
        Down
        Drop it
        ::

        Thanks now it’s work correctly