Agent Connectivity
Objective
Q:
How do I test agent connectivity?
Environment
v4.5;v5.5;v6.2;v6.4;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10
Procedure
A:
Below are commands to assist in testing connectivity to the agent
Proxy Credentials:
Switches set/remove credentials for proxy authentication
-ProxyUser
Syntax:
vf_agent.exe –ProxyUser user –ProxyPassword pass
user – proxy user; in case of domain integrated proxy, use domain\user syntax
pass – password for the user
-ProxyCredentials
Syntax:
vf_agent.exe –ProxyCredentials
filename filename – full path to a file, containing user name and password for proxy authentication, each on its own line
Note: useful when password contains spaces/other problematic characters
-ResetProxyUser
Syntax:
vf_agent.exe –ResetProxyUser
Removes current proxy credentials
-D
Network diagnostics command. Makes agent to access specified network resources. Result is displayed asynchronously in a dialog box.
Syntax:
vf_agent.exe –D p hostname
Pings the specified host
hostname – ip address or host name of the computer to ping
vf_agent.exe –D h url
Sends request to a specified URL. If proxy is specified, request is sent directly (bypassing proxy) and using
current proxy settings
url – url to access. Use quotes if special symbols are used
vf_agent.exe –D s user:username password:pass share:path
Check access to specified share.
user – optional; specifies user to access the share
password –specifies password for the user. If user is specified, this parameter is obligatory, otherwise it is ignored
share – network path to access
Examples:
vf_agent.exe –D p test-computer
Pings host “test-computer”
vf_agent.exe –D h http://www.cyberark.com
Tries to access URL http://www.cyberark.com
vf_agent.exe –D s user:myuser password:ab1234 share:\\srv\soft\micro
Tries read and write access for user myuser with password ab1234 to share \\srv\soft\micro
Additional Information
Details
Q:
How do I test agent connectivity?
A:
Below are commands to assist in testing connectivity to the agent
Proxy Credentials:
Switches set/remove credentials for proxy authentication
-ProxyUserSyntax:-ProxyCredentials
vf_agent.exe –ProxyUser user –ProxyPassword pass
- user – proxy user; in case of domain integrated proxy, use domain\user syntax
- pass – password for the user
Syntax:-ResetProxyUser
vf_agent.exe –ProxyCredentials filenameNote: useful when password contains spaces/other problematic characters
- filename – full path to a file, containing user name and password for proxy authentication, each on its own line
Syntax:-D
vf_agent.exe –ResetProxyUser
Removes current proxy credentials
Network diagnostics command. Makes agent to access specified network resources. Result is displayed
asynchronously in a dialog box.
Syntax:
vf_agent.exe –D p hostnamePings the specified host
- hostname – ip address or host name of the computer to ping
vf_agent.exe –D h url
Sends request to a specified URL. If proxy is specified, request is sent directly (bypassing proxy) and using
current proxy settings
- url – url to access. Use quotes if special symbols are used
vf_agent.exe –D s user:username password:pass share:path
Check access to specified share.
- user – optional; specifies user to access the share
- password –specifies password for the user. If user is specified, this parameter is obligatory, otherwise it is ignored
- share – network path to access
Examples:
vf_agent.exe –D p test-computer
Pings host “test-computer”
vf_agent.exe –D h http://www.cyberark.com
Tries to access URL http://www.cyberark.com
vf_agent.exe –D s user:myuser password:ab1234 share:\\srv\soft\micro
Tries read and write access for user myuser with password ab1234 to share \\srv\soft\micro