cloudera_monitor verify selection works but Inventory is not displayed
search cancel

cloudera_monitor verify selection works but Inventory is not displayed

book

Article ID: 379019

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

cloudera_monitor verify selection works but Inventory is not displayed

The following error is captured in the cloudera_monitor.log on probe startup

[Data Collector - Cloudera..., cloudera_monitor] API client url : https:<example.clouderamanager.com>:7183/api/v43
[Data Collector - Cloudera..., cloudera_monitor] Calling readClusters........
[Data Collector - Cloudera..., cloudera_monitor] javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[Data Collector - Cloudera...., cloudera_monitor] com.cloudera.api.swagger.client.ApiException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at com.cloudera.api.swagger.client.ApiClient.execute(ApiClient.java:993)

Environment

cloudera_monitor 1.01

Resolution

This issue is sometimes seen when the pem certificate configured in the cloudera_monitor probe is suspect.

Option 1. Obtained a validate pem certificate for Cloudera

Option 2. Download the certificate from a browser and convert it to pem format as shown below

1. Launch Chrome and log on to the Cloudera instance

2. Export the Cloudera server certificate to *.crt file type

3. Convert the *.crt file to pem format using the openssl command below

# openssl x509 -in <certificate.example>.crt  -out <certificate.example>.pem

4. Opened the cloudera_monitor configuration using the Admin Console and update the Keystore Location with the path to <certificate.example>.pem file.

Example