Free 30 Day Trial
Find the root-cause of your cloud, hybrid-cloudor on-prem performance issues
For monitoring purposes, the tests run by eG agents sometimes need to be configured with the access credentials (user name and password) of the target servers/devices. In the real world however, more often than not, access credentials are changed! IT administrators keep changing the password for accessing critical servers and services in the environment, so as to protect such servers/services from malicious attacks by online predators. Once a password is changed, all tests that take that password as a parameter will stop working, until such time the administrator manually reconfigures each test and changes the password. In environments where a large number of servers/devices are managed, this could take days! To save administrators the time and effort involved in manually changing the password of eG tests, eG Enterprise allows the creation of one/more Password Profiles.
A Password Profile is characterized by a domain name, user name, and password. When configuring an eG test that takes access credentials as parameters, administrators no longer need to manually configure the credentials; instead, they only need to select the Password Profile that contains the credentials to be passed to the test. This means that if a password changes/expires subsequently, it would suffice to change the corresponding Password Profile alone. All eG tests configured with that Password Profile will automatically assume the new password. This way, Password Profiles serve as the central point of control of passwords across the monitored infrastructure.
Creating a Password Profile
To create a new password profile, do the following:
This will invoke Figure 2.
This will bring up another row of specifications, where you can provide another set of credentials (see Figure 3) for the same profile.
The profile that is created newly will be listed in the PASSWORD PROFILES page, as shown by Figure 4.
Associating a Password Profile with an eG Test
A password profile can be associated with either the Specific or the Default test configurations. To associate a password profile with an eG test, do the following:
You will find that a Password Profile parameter has been newly added to the test. From the Password Profile drop-down, select the profile that contains the user name and password that you want to pass to the test. Upon selection of a profile, the username and password parameters of the test get automatically populated with the credentials defined with the profile.
Figure 5 : Assigning a Password Profile to an eG test
Modifying a Password Profile
To modify a password profile, do the following:
Figure 6 will appear listing all the password profiles that pre-exist. To modify a profile, click on the icon corresponding to the profile to be modified.
Doing so will open Figure 7, where the details of the selected profile will be displayed.
Deleting a Password Profile
You can only delete those profiles that are not associated with any eG test. To delete a profile, do the following:
Figure 8 will appear listing all the password profiles that pre-exist. To delete a profile, click on the icon corresponding to the profile to be deleted.
The icon will be enabled for only those profiles that are yet to be mapped to a test. For all the other tests, this icon will be disabled.
Doing so will open a message box that will prompt you to confirm the deletion of the chosen profile (see Figure 9).
Adding a Password Profile Parameter to a New Component-Type or New Test
The component types that should support the Password Profile test parameter are configurable.
This implies that if you integrate a new component-type into the eG Enterprise system via the Integration Console plugin, then even if one/more tests mapped to that component type require access credentials for execution, the Password Profile parameter will not be available to that component type by default. You will have to explicitly enable Password Profile support for the new component-type.
Likewise, if you integrate a new test (requiring access credentials) into the eG Enterprise system and map that test to an existing component type, the Password Profile parameter will not be available to that test by default. . Here again, you will have to explicitly enable Password Profile support for that component-type.
To add a Password Profile parameter to new tests/component-types, do the following:
For the new test/component-type, append an entry of the following format to the [PARAMETER_SETS] section of the file:
<Internal_name_of_ComponentType>=<Comma-separated list of test parameters representing access credentials>
The <Comma-separated list of test parameters representing access credentials> is required to indicate which parameters of the test will be impacted by the Password Profile selection.
For example, if you want to add the Password Profile parameter to the tests of the Maria Database server component-type, then do the following:
Here, user and password are the parameters that will be impacted by the Password Profile selection. The Password Profile parameter will be inserted above these two parameters in the test configuration page.
Sometimes, a single test can take multiple sets of access credentials. For eg., any ‘inside-view’ test mapped to a VMware vSphere server requires credentials for accessing the hypervisor and separate credentials for accessing each VM. To make sure that you can set a Password Profile for accessing the hypervisor and another Password Profile for accessing the VMs, you need to append an entry of the following format in the [PARAMETER_SETS] section:
<Internal_name_of_ComponentType>=<Comma-separated list of test parameters that allow access to hypervisor>~|~<Comma-separated list of test parameters that allow access to VMs>
In the case of the vSphere example, this entry will be as follows:
Here, Esx_user and Esx_password are the test parameters to which the credentials for accessing the hypervisor has to be input. domain, admin_user, and admin_password are the test parameters to which the credentials for accessing the VMs need to be input. ~|~ is the separator between the two sets of access credentials.
If there are more sets of credentials, make sure that they are separated using ~|~.
Once the changes are saved, the test configuration page of each test that supports the comma-separated list of parameters will now additionally support a Password Profile parameter (see Figure 10). This new parameter will be displayed above the parameters used for getting access credentials.
Limitations of the Password Profile Feature
The following are the limitations of the Password Profile feature: