While trying to add a cassandra monitor, why am i getting "Unable to connect to the host / port" error message?

While trying to add a cassandra monitor, why am i getting "Unable to connect to the host / port" error message?

Solution:
Applications Manager connects to Apache Cassandra via JMX. The "Unable to connect" error typically indicates that the Cassandra JMX port (default: 7199) is unreachable from the Applications Manager server, is bound incorrectly, or requires specific JVM configurations.
  • Check Connectivity: Verify that the Cassandra host and JMX port are accessible from the server where Applications Manager is installed. You can find the configured JMX port in the [CASSANDRA_HOME]/conf/cassandra-env.sh (Linux) or cassandra-env.ps1 (Windows) file.
  • Enable Remote JMX: By default, Cassandra make JMX connections accessible only from localhost. To allow Applications Manager to connect remotely, change the LOCAL_JMX setting to no in cassandra-env.sh or cassandra-env.ps1 file. Refer to Apache Cassandra security and configuration for the same.
  • Authentication Settings: If Cassandra JMX authenticated is enabled, enable the "Is Authentication Required" option in Applications Manager. Ensure that the credentials provided match the user in your jmxremote.password file.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Mail Server Monitor - Troubleshooting

                      Common Mail Server Monitor Errors and Troubleshooting Guide 1. Unknown Host Error Description: This error occurs when the mail client cannot resolve the hostname of the mail server to an IP address. The issue typically arises from DNS resolution ...
                    • Real User Monitor (RUM) - Troubleshooting

                      If the monitor has not polled data for a long time, follow the below steps for troubleshooting. Step 1: Check the RUM Agent configuration Real User Monitor requires the RUM Agent to be installed and mapped to the Applications Manager. Refer this help ...
                    • UDP Port Monitor - Troubleshooting

                      How do we monitor UDP Port? UDP is a connectionless protocol which doesn't send any acknowledgement on connecting to the UDP port like TCP. When UDP port is not open system will send ICMP port unreachable message. The Issue is when the UDP port is ...
                    • Unable to connect to the host / port

                      Follow the below steps to troubleshoot the error Make sure the service you're trying to connect to is actually running on the designated Host/IP and Port. Ensure the service is accessible by performing the below steps from the Applications Manager ...
                    • Troubleshooting URL Monitor

                      When configuring a URL monitor in Applications Manager, you might encounter several errors related to accessibility, configuration, or server-side issues. Below are common errors along with step-by-step troubleshooting instructions to help you ...