Pages: [1]   Go Down
Author Topic: Create a SSH agent SH Script (Doc)  (Read 384 times)
0 Members and 2 Guests are viewing this topic.
rischfre
Jr. Member
**

Karma: 0
Offline Offline

Posts: 19


View Profile
« on: April 14, 2011, 06:13:12 PM »

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
Logged

miguel
Global Moderator
Sr. Member
*****

Karma: 0
Offline Offline

Posts: 102



View Profile
« Reply #1 on: April 15, 2011, 09:28:34 AM »

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

rischfre
Jr. Member
**

Karma: 0
Offline Offline

Posts: 19


View Profile
« Reply #2 on: April 15, 2011, 10:15:59 AM »

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
« Last Edit: April 15, 2011, 10:28:32 AM by rischfre » Logged

miguel
Global Moderator
Sr. Member
*****

Karma: 0
Offline Offline

Posts: 102



View Profile
« Reply #3 on: April 18, 2011, 08:30:33 AM »

Hi.

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

Bye.
Logged

rischfre
Jr. Member
**

Karma: 0
Offline Offline

Posts: 19


View Profile
« Reply #4 on: April 20, 2011, 02:08:36 PM »

Thanks
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST