Q:
How do I test agent connectivity?
Steps
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
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
-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
-DNetwork diagnostics command. Makes agent to access specified network resources. Result is displayedasynchronously 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