Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. SSH Subagent and Actions

SSH Subagent and Actions

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 38.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    Tursiops
    wrote on last edited by
    #1

    Hi,

    I know I can use SSH for DCIs. Based on the 2.1 release notes, it should also be possible to use this for Actions, but I can't find documentation on how to make this work.
    Are those Actions configured in an Agent configuration file or Actions that can be configured in Object Tools or both?

    Reason for asking is that I am thinking of setting up some Object Tools which will run commands on routers/switches to pull some information for troubleshooting on request (without having to SSH into the device).

    Cheers

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi,

      no, it's not possible yet. Where exactly in release notes you find this?

      Best regards,
      Victor

      1 Reply Last reply
      0
      • T
        T
        Tursiops
        wrote on last edited by
        #3

        I just double-checked and it was part of the release notes of 2.1-M1:

        - SSH subagent (for collecting data and executing actions via SSH)
        

        Cheers

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          Oops 🙂 That probably was intention but actual code was never written. Of course you still can use SSH subagent to execute something - just create script action which will call agent parameter or list SSH.Command. For example, to get remote directory you can use script

          data = AgentReadList($node, "SSH.Command(ls /)");
          

          Best regards,
          Victor

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups