The Password Manager Pro Agent
=============================

The agent could be used in target machines to which the PMP server can connect and effect password changes. All password related communication is over HTTPS and is secure. The agent is useful in cases when,

	* the PMP server runs in a Linux system and has to make password changes to Windows resources
	* the required administrative credentials are not available in the PMP server to make the password changes from remote.

Downloading the PMP Agent
=========================

	The PMP Agent package is dynamically created by the PMP server to include the SSL certificate of the PMP server, that is used for the HTTPS communication between the server and the agent. So, the only place to download the agent is from the 'Admin' tab of the PMP web GUI. The agent package is a zip file containing the necessary executables, configuration files and the SSL certificate. Download the agent based on the OS of the target and just unzip the package.

Installing the PMP Agent
========================

	The package has all the necessary configuration already created by the server. Make sure the account in the system in which the agent is installed has sufficient privileges required to modify passwords.

	To install the PMP Agent as a Windows service,

	* Open a command prompt and navigate to the PMP agent installation directory
	* Execute the command 'AgentInstaller.exe start'


	To stop the agent and uninstall the Windows service,

	* Open a command prompt and navigate to the PMP agent installation directory
	* Execute the command 'AgentInstaller.exe stop'
	
	Configuring the time interval at which the agent should ping the PMP server 
	
	By default, the agent pings the server once in 60 seconds. The interval is configurable. To change this,
	
    * Go to the PMP agent installation directory
    * Open the file Agent.conf
    * Modify the time interval value in seconds for the parameter ScheduleInterval to the value you require (in seconds)
    * Restart the agent service
    
To remotely change the password
===============================

    * Go to 'Resources' Tab
    * Click the name of the resource whose password has to be changed remotely
    * Click the "Change Password" icon
    

To find if any tasks are pending for execution by the agents
============================================================

The remote password reset and other tasks triggered by the user in PMP and awaiting execution by the agents, can be found from by clicking the icon on the top pane of the GUI. The status of the previously triggered tasks can also be known from here.

The notification icon will provide the following information:

	* Number of password reset actions triggered
    * Number of password verify actions triggered
    * Status of password reset action triggered earlier
    * Status of verify password action triggered earlier

This listing will be user-specific - that means, users get to know the status of only those tasks triggered by them.

Troubleshooting
===============

	If the password changes do not take effect in the target systems check,

	* if the agent is running by looking at the Windows active process list for the entry 'PMPAgent.exe'
	* by default, the agent tries to communicate with the PMP server through the port 7272. If you have configured the default PMP port, you need to make the agent communicate with the new address.
	* if the account in which the agent is installed has sufficient privileges to make password changes

