Welcome to Pandora FMS Community!

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

Welcome to Pandora FMS Community Forums Community support A module that autogenerates an agent with its modules?

  • A module that autogenerates an agent with its modules?

    Posted by daggett on December 15, 2006 at 17:14

    Hello,
    I was quiet frustrated when I had to add more than 20 modules by hand for an agent to be sure to parse the entire XML data file transmitted by the corresponding agent.

    It may be useful to include somewhere a way (script?) to generate the agent with its modules when having the XML data file transmitted by the agent.

    This is the way I generate agents:
    Each agent is identical at the beginning, I download a repackaged tgz of the agent on each monitored computer, then execute the installation script I added to generate the pandora_agent.conf which depends on the hardware detected by the script.
    Then I start the agents, and they generate the XML files and send them to the Pandora server.
    On the pandora server side, I must read myself the XML file and create evrey agent with its modules… by hand. It’s quiet a long task, even for a small amount of pandora agents deployed.

    So my guess is: add a script in pandora server, run by pandora administrator, that can parse XML and create all agents with their modules in the database.
    Do you think it can be interesting?
    I can developp that, I think.

    thanks,
    bye

    Sancho replied 18 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • daggett

    Member
    December 15, 2006 at 22:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Well, it seems that fridays are quiet a hard time for me… I didn’t see the “learn” option in the console… well sorry again!

    bye

  • Sancho

    Administrator
    December 18, 2006 at 13:18
    2309 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Well, it seems that fridays are quiet a hard time for me… I didn’t see the “learn” option in the console… well sorry again!

    bye

    :-))))