Pandora FMS Community

ssh_pandoraplugin use in v6

supplyd · 2 dic 2015, 2:19 · 4 mensajes · 53 visitas

  1. Inicio del debate

    Hi, I'm trying to figure out how to set up the plugin for ssh but the directions are 6 years old or so and the fields don't correspond to the fields available in version 6. I've tried to get it to work (ssh itself works fine from the pandora server to the box being monitored) but have not been successful. I wonder if someone who has it working can show a screenshot of how the plugin setup should look on a v6 Pandora server? Attached is a view of the plugin form. I don't know what to do with the parameters field, or what macros if any I have to define. I'm trying to specify the host, the user ID, and the command to run. Thanks

    [

    ](//pandorafms.com/community/media/forum/0/19114=909-ssh_plugin_form.PNG)

  2. Hello supplyd, First of all... It doesn't matter if the plugin is 6 or 45 years old, that's the good thing about them :) You need to understand how it works and then make it work the way that you want to! Cutting the teacher stuff, let's get our hands on it xD The command would be this one: -t 192.168.5.20 -u root -c "ls -la /etc/myfile.conf | wc -l But I'm attaching you an image, so it's more clear to you ;) Regards, Emilio.

    [

    ](//pandorafms.com/community/media/forum/0/19115=910-Pasted-image-at-2015_12_02-10_31.png)

  3. That's what I needed! Thanks for taking the time to help.

  4. Hello supplyd, I'm glad it helped you :) Welcome to Pandora, if you have another question, don't hesitate about asking, I'll be around ;) Regards, Emilio.

Entra en tu cuenta para publicar.