nutanix_monitor probe API calls not returning data
search cancel

nutanix_monitor probe API calls not returning data

book

Article ID: 193739

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

I need to know the exact API call that is being made to Nutanix from the nutanix_monitor probe to gather these metrics:

  • Cluster.Cluster_Num_Outstanding_Alerts
  • Hosts.Host_Num_Outstanding_Alerts
  • Disks.StorageCapacity


If possible, we would like to know the response that the nutanix_monitor probe is looking for as well. I am working with multiple Nutanix resources because we are getting these alarms for missing data:

Self-Monitoring Failures for 'pbnx-XXXXCLUS:Cluster.Cluster_Num_Outstanding_Alerts': Data Collection (1 of 1 failed).  See nutanix_monitor.log for more details
Self-Monitoring Failures for 'pbnx-XXXXCLUS:Hosts.Host_Num_Outstanding_Alerts': Data Collection (3 of 3 failed).  See nutanix_monitor.log for more details

Our logs show that Nimsoft is getting "null" values:

Jun 09 09:53:16:211 [BulkSender Monitor, nutanix_monitor] Sent NimQoS QOS_NUTANIX_CLUSTER_ALERT_COUNT D, source=XXXXCLUS, target=XXXXCLUS, measuretime=1591710795219, value=null, stdev=0.0 and received confirmation id BF67958868-65137

Jun 09 10:00:16:437 [BulkSender Monitor, nutanix_monitor] Sent NimQoS QOS_NUTANIX_HOST_ALERT_COUNT D, source=PRxxxxxxxx04.xxxxxxxank.com, target=PRxxxxxxxx04.xxxxxxxank.com, measuretime=1591711215317, value=null, stdev=0.0 and received confirmation id BF67958868-65686

However, from looking internally at the Nutanix API Explorer, there values ARE being reported, and Nimsoft is not picking them up.

Environment

  • Release: 8.51
  • Component: UIM - NUTANIX

Cause

  • "Monitor Nutanix Alerts" box was not checked in the profiles. 

Resolution

As per the nutanix_monitor log:

[Data Collector - xxxx-prodclus, nutanix_monitor] Number of Clusters: 1
[Data Collector - xxxx-prodclus, nutanix_monitor] Number of Hosts: 3
[Data Collector - xxxx-prodclus, nutanix_monitor] Number of Disks: 24
[Data Collector - xxxx-prodclus, nutanix_monitor] Number of Storage Containers: 3
[Data Collector - xxxx-prodclus, nutanix_monitor] *** Nutanix Alert monitoring not enabled


"Monitor Nutanix Alerts" box was not checked on the profiles.

Customer went back to the original hub, checked the box, and validated that the json file was now being created with the API response, and the self-monitoring failure alarms have ceased.

When Data/Alarms are set to On, but the "Monitor Nutanix Alerts" is not checked, a null value is recorded because there's no file for the probe to read the response from. Customer had also not checked the "Monitor VMs" and "Monitor Controller VMs" options.

Additional Information

nutanix monitor AC configuration