RDM 2022.2.26.0
DVLS 2022.2.11.0
Hello Support,
we have a Tool to access Extreme Networks Switche.
ACLI. It's a perl Tool based on ConsoleZ.
http://www.oranda.fr/ACLI-terminal/
You have no AddOn for ConsoleZ and now we want to use the Command line (Macro/Script/Tool) to execute this.
Normally we call the Tool like this:
"C:\Program Files\ACLI\acligui.bat" -u username:password ipAddress
The Entry for this ACLI is a entry under a Folder (Type Device)
In this Folder we have the $COMPUTER_IP$ and the username and Password.
In Subentries ssh,web, zoc it works fine.
How we can use the Folder Credentials and IP in this CLI Entry ?
Second: This entry works only with "Run as Administrator". Otherwise it didn't finde the folder. why ?
Best regards
Andreas
Senior Network Consultant
Ostertag DeTeWe GmbH
Hello Andreas,
Our apologies for the delay.
I did a quick test for the $COMPUTER_IP$ and it is working as expected in the same version of RDM. In my test credential entry, the username is "user", and the password is "pass". I do not need to run the script as administrator either. Can you try to run it with this to see if you get the same result?
echo $USERNAME$:$PASSWORD$ $COMPUTER_IP$
As for the password, make sure you enable "Allow password in variable" under the Security Settings tab of the properties of both the CMD and the credential entry. Please refer to https://kb.devolutions.net/rdm_manual_runas.html for more details.
Best regards,
Richard Boisvert
Hello Richard,
I get this as output :
$USERNAME$:$PASSWORD$ $COMPUTER_IP$
And my settings look different.
Best regards
Andreas
Senior Network Consultant
Ostertag DeTeWe GmbH
Hello Andreas,
You used the "Command Line (Macros/Scripts/Tool)" entry. Could you try to use the "Command Line (External Application)" instead?
Best regards,
Richard Boisvert
Hello Richard,
ok, this works.
But, why you have the other option, when it don't work :-)
Thanks for your help.
Best regards
Andreas
Senior Network Consultant
Ostertag DeTeWe GmbH
Hello Andreas,
Glad it now works!
The Macros/Script/Tools are used to be run agaisnt an entry. For example, if you wanted the username/password and the IP of an RDP entry, you would create the CMD as you previously did, but you would select it under the Macros/Script/Tools tab (or a right click), instead of running the macro directly. It would then get the variable information from the entry you selected.
Best regards,
Richard Boisvert