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 Create a SSH agent SH Script (Doc)

  • Create a SSH agent SH Script (Doc)

    Posted by rischfre on April 14, 2011 at 21:13

    Hi,
    I m brand new user of Pandora FMS (Free), I installed it (server, console and agent), now i would like to test what i really wanted to do with Pandora : SH script which returns value to Pandora.
    So I used this HowTo Guide : http://pandorafms.org/include/inc_repository.php?action=get_file&id_file=38

    I managed to do everything until step 5.  That means manage to register the SSH.SH script as a plugin.
    But then i m blocked…
    I cannot find the : “Module Assignment Plugin Server Module” Form, in order to give to the SSH.SH module its instructions.
    None of the forms i went gave me the option Module component : “manual setup” and “Generic module”
    May with my version of the programm (3.2.1 free) does not allow script to run?

    Thank you
    Best regards

    rischfre replied 13 years, 10 months ago 2 Members · 4 Replies
  • 4 Replies
  • miguel

    Member
    April 15, 2011 at 12:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi.

    You can see the form in the “Administration” >> “Manage servers” >> “Manage plugins”. And in the bottom page you can find the button “Add”.

    Bye.

  • rischfre

    Member
    April 15, 2011 at 13:15
    80 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks, but that s the point until i get. The step afterwards : “give to this plugin the task (command line to be executed with the SSH)” i do not know where to write it…

    In fact i found something similar in the menu : Administration Manage Module Network Component “Create : New plugin component”

    but from what i see in this form, is that there is no field for the tarjet IP or Port. Which means that i should create 1 pluggin for each IP to check or complexify the parameters.

    thank you again

  • miguel

    Member
    April 18, 2011 at 11:30
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi.

    Well you must to create one plugin, because when the plugin is used in agent, the plugin take the agent IP.

    Bye.

  • rischfre

    Member
    April 20, 2011 at 17:08
    80 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks