When I try to add a Harvester, I receive an error that says the WSDL could not be accessed during discovery.

Document ID : KB000048096
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When I try to add a Harvester, I receive an error that says the WSDL could not be accessed during discovery. The error text is:

"An error occurred during the discovery process. The following information may be helpful. Failed to access the WSDL at: http://localhost:8081/snmp?wsdl. It failed with: Got Server returned HTTP response code: 403 for URL: http://localhost:8081/snmp?wsdl while opening stream from http://localhost:8081/snmp?wsdl"

Solution:

Test polling failed due to a conflict on port 8081, the port that is used by default for the CA NFA DNS/SNMP Proxies service. Port 8081 may be in use by some other program, such as an anti-virus program.

To resolve the problem, change the port setting for the other program or for the CA NFA DNS/SNMP Proxies service. To change the CA NFA DNS/SNMP Proxies service port setting, complete the following steps.

Follow these steps:

  1. Log in to the Harvester server with an account that has administrator privileges.

  2. Stop the following services on the Harvester server.

    • CA NFA Collection and Poller Webservices (nfa_collpollws on Linux Harvesters)

    • CA NFA DNS/SNMP Proxies (nfa_proxies on Linux Harvesters)

    • CA NFA Poller (nfa_poller on Linux Harvesters)

  3. Navigate to mysql at a command line prompt and enter the following commands or input statements:

    use poller
    select * From settings;

  4. The SnmpProxyAddress and SnmpProxyPort key names and current values are shown.

    Figure 1

  5. Change the SnmpProxyPort key setting, for example, by entering the following command or input statement:

    Update settings set value = '8089' where name='SnmpProxyPort';

    In this example, the port for the CA NFA DNS/SNMP Proxies service is changed to 8089.

    Do not change the setting for the SnmpProxyAddress key. The only supported value for this key is "localhost."

  6. Restart the following services on the Harvester server.

    • CA NFA Collection and Poller Webservices (nfa_collpollws on Linux Harvesters)}

    • CA NFA DNS/SNMP Proxies (nfa_proxies on Linux Harvesters)

    • CA NFA Poller (nfa_poller on Linux Harvesters)

You are now ready to add the Harvester in the NFA console Harvester window.