The RMI port is open in both directions in the firewall, but t he RMI, on-demand, dashboards display the following error:
On-demand data retrieval failed. To check connection configuration, click here (more details).
This error is related to the Foglight Agent Manager (FGLAM) and Foglight Management Server (FMS) bi-directional connection on RMI port or FGLAM hostname.
A second more detailed popup provides additional information
Failed to connect to RMI server with host [HOSTNAME], port [XXXX] and server name [oracle_rmi_server]. Reason: Unknown host: HOSTNAMEl nested exception is java.rmi.UnknownHostException: Unknown host: HOSTNAME; nested exception is: java.net.UnknownHostException: HOSTNAME
RMI uses a client-server architecture. The RMI server is on the FglAM itself where the RMI client resides on the FMS.
In some cases this connection may fail due to a blocked port or if the FglAM points to the wrong RMI client machine.
NOTE: default RMI port for Oracle is 3723, default RMI port for SQL Server is 3235, default RMI port for DB2 is 3725
To configure a port for the collection of on-demand data:
IMPORTANT: Changes to the On-demand Data Port view take effect immediately and do not need to be saved.
This should show that the connection succeeded. If there is an error verifying the connection or if the RMI dashboards still show "on-demand data retrieval failed", continue to the section below.
Check the hostname in the error message
In the management logs you can see what the error is when the RMI connection is trying to get established.
If it is referring to the wrong FglAM hostname then you can explicitly set the host on the FglAM for RMI as follows:
Using the RMI Connection Test
If there are still connection issues then use the RMI connection test program to manually try creating a connection.
Download the attached RMI Connection Test utility (rmi-test-3.1.0-tool.zip for Windows or rmi-test-ksh-3.1.0.zip for Unix)
The test should establish a connection over that port between the two systems.
If an error occurs it will print out details of the connection error.
At this point you should contact Quest Support so it can be investigated further.
Resolution 2:
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center