Showing results for 
Search instead for 
Did you mean: 
Create Post

Monitoring Nutanix Prism with Simplified API Polling - Differences between 2019.4 and 2020.2

In Server & Application Monitor (SAM) 2019.4 we released hardware health monitoring for Nutanix clusters, alongside a technical preview of basic cluster monitoring. In the same version, we also released our first version of API polling as well with support for basic authentication! Nutanix has a rich ecosystem of APIs available for monitoring. How many of you tried to monitor your Nutanix environment? 

When I tried with the 2019.4 API poller, I was immediately needing a way to skip the SSL certificate verification. This was also noted by customers and the feature requests started coming in.

Feature Request: Skip SSL Certificate Validation



I'm happy to say that in SAM 2020.2, this feature request has been fulfilled. And, even better, 2020.2 is Generally Available! The Nutanix monitoring provided is no longer in technical preview and with Virtualization Manager (VMAN) 2020.2 incredibly robust. 

Regardless, APIs tend to be updated very frequently, so this walkthrough will help you supplement the out-of-the-box monitoring provided in SAM & VMAN without needing to update to later releases.

The Nutanix API documentation I'm referencing for these steps can be found here:

First, configure your Nutanix monitoring by adding a Nutanix cluster to be monitored, and configure hardware health polling too! 

Add a cluster using the add a virtual entity wizardAdd a cluster using the add a virtual entity wizard


Navigate to your management widget on the AHV node of your choice. 


Click 'Create'


While configuring the API poller, simply toggle that SSL certificate verification to disabled and you're now off to the races.

Use Basic Authentication for Nutanix APIsUse Basic Authentication for Nutanix APIs

In the following screenshot I've highlighted a few changes to start playing around with as well now that you will have responses coming in. Quickly edit the title of your API poller, and monitor the status and response time of the API endpoint.

Let's start with  url format:'https://any_cvm_ip:9440/api/nutanix/v2.0/clusters' to start taking a look at my Nutanix cluster.


Expanding out the response, I can immediately start monitoring the number of nodes for the cluster.


By setting a threshold, I can now be alerted if the number of nodes drops below 3, as this can impact my data resiliency status.


Hmm, I'd like to start drilling down into a few key metrics, like what are the read IOPs for the cluster. Here it looks like I have a few choices, I can continue within this same request and expand out the stats response, or I can create another request.


Let's take a quick look at another new addition that you can use to accelerate your API polling. Look in the upper right hand corner to see some new options


Clicking on the 3 dots will allow me to duplicate my request so I don't have to configure a new API poller and set up my authorization more than once.


Here's where I am, you can see I have 2 requests, identically configured.


Let's configure the second request with a different URL. 'https://any_cvm_ip:9440/PrismGateway/services/rest/v2.0/cluster/stats?metrics=num_read_iops'



Ta-da! Now I'm able to quickly monitor Read IOPs for the cluster.


Don't forget that with the API pollers, this is integrated with Orion Maps, PerfStack, and the new Orion Dashboards so you'll be able to not only quickly monitor additional data from your Nutanix environments, but visualize the results better than ever. 

Across the Orion platform, you have multiple options to gain 100% monitoring insight for your Nutanix environment:  

  • Network Performance Monitor (NPM) allows visibility through the UnDP for access to metrics via SNMP 
  • Server & Application Monitor (SAM) gives you in depth hardware health, Application Monitor templates and the API poller for quick API access
  • Virtualization Manager (VMAN) provides in depth and robust monitoring full stack support for Nutanix AHV, mixed VMware / Nutanix and Hyper-V / Nutanix environments
  • Log Analyzer (LA) allows you to provide tagging and alerting on syslogs from your Nutanix environment and see those events side by side with other event types. 

Not only that, we are Nutanix Ready Certified as a partner solution that can be run on the Nutanix AHV hypervisor and also utilizes the Nutanix REST APIs to work with AHV. 


Let us know how your monitoring needs can be better served, and as always we look forward to your feature requests for future enhancements. 

Labels (3)

Hi @serena,

(Been a while!)

I'm trying here first as I don't get the impression there's all that many people who know about the solarwinds API poller details - Are Solarwinds Variables allowed to evaluate in BODY, or other non-URL sections of the API poller? If not, is there a way of using the URL or similar for what would normally be a BODY query?

Scenario: Need to input a datetime value to get today's data from the api. I've got a datetime macro which works perfectly elsewhere, but doesn't seem to evaluate. I've found an article around macros in the URL but not elsewhere. I figure there must be ways to pass non-static queries around somehow without resorting to powershell


In a simmilar scenario elsewhere the API uses a bearer token that needs refreshing once per week, and you acquire a bearer token with another API call. I've noticed that I can put an authentication string in the Header field instead of the authorization section. If I can store a bearer token in the database somewhere via one API poller on a weekly interval and call it in the other with a macro I can integrate using the UI, otherwise it breaks once a week. Still yet to get this working too


In both cases I'm familiar with building solarwinds macros elsewhere, but very unsure of the "rules" of this new feature

Version history
Revision #:
6 of 6
Last update:
‎06-04-2020 08:57 AM
Updated by: