News:

We really need your input in this questionnaire

Main Menu

SSH Subagent and Actions

Started by Tursiops, August 08, 2017, 03:27:56 AM

Previous topic - Next topic

Tursiops

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

Victor Kirhenshtein

Hi,

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

Best regards,
Victor

Tursiops

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

Victor Kirhenshtein

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