Configuring and Troubleshooting SNMP monitoring

  • 12 November 2019
  • 6 replies
  • 3485 views

Userlevel 6
Badge +5
  • Nutanix Employee
  • 427 replies

We have already mentioned some helpful resources relevant to SNMP configuration. This time we will take a look at examples, logs location and connectivity testing.

:exclamation: Important:

  • Nutanix appliances support only SNMP v2c and v3 (support for v2c in AOS 5.5 and higher).
  • Starting from AOS version 4.1, auth-type MD5 is no longer supported.
  • With SNMP v2c Nutanix support SNMP TRAP instead of SNMP GET

Follow trough to KB-1333 Configuring and Troubleshooting SNMP monitoring for commands and examples.

The article also reference two more KB articles as well as SNMP related PowerShell commands:

KB-2448 How to import MIB in zenoss

KB-2028 Integrating Nutanix with Solarwinds


6 replies

Badge +1

Have successfully added CVM’s and ESXi hosts with SNMPv3 monitoring in Solarwinds but how about monitoring the AHV hosts? I have not really seen any guide for this.

Userlevel 6
Badge +5

@Tedevil

Monitoring of AHV hosts is established as part of cluster monitoring. There are hardware and host related messages triggered by the cluster (CVMs).

Badge +1

We have deployed Solarwinds as our global monitoring tool of ALL devices in our global network. So we really want monitoring of AHV hosts from that platform. It is our “all in one tool” for monitoring, notifications, statistics and reporting. I actually hoped that the SNMP configuration used in PE actually also pushed it out to the AHV hosts and not only the VM’s, but it did not.

Looking on the active services/processes on the AHV it seems SNMP is not used so I guess it would be pretty straight forward to enable this (install the net-snmp package). I realize that it is maybe not supported as it potentially could break things but perhaps something that can be added in the future?

Userlevel 6
Badge +5

@Tedevil

The monitoring of AHV hosts is performed by CVMs that will raise alerts and send SNMP traps. This is defined in the hypervisor section of the MIB. That is why SNMP configuration is not pushed to AHV hosts by PE.

Yes, but, snmpd is installed on the AHV hosts though it’s not adequately configured or systemctl enabled. 

 

SNMP monitoring of the hardware provides additional insights.  Sure it’s nice to have the CVM sending Nutanix specific traps but the hardware CPU stats (etc) are not true.   In our setup, the AHV hosts have 40 CPUs while the CVMs only have 10.  Graphing the CVMs is misleading.

 

I agree with @Tedevil and others.  Nutanix should fully support net-snmp on the physical hardware and provide a guide to setting it up.

 

 

Hello, I was wondering if anyone else was having issues where SNMP v3 isn’t returning a complete list of VMs using the Nutanix-MIB:vmName (OID:1.3.6.1.4.1.41263.10.1.3)

I have tried using both Solarwinds UnDP tools and SNMPWalk and the results of both seem to have omissions. 

Looking at the ROWIDs returned there are gaps and I wonder if these correspond to my missing vmNames.

.1.3.6.1.4.1.41263.10.1.3.13
.1.3.6.1.4.1.41263.10.1.3.14
.1.3.6.1.4.1.41263.10.1.3.15

[missing .16 and .17 for example ]
.1.3.6.1.4.1.41263.10.1.3.18
.1.3.6.1.4.1.41263.10.1.3.19
.1.3.6.1.4.1.41263.10.1.3.20

As far as I can tell SNMP v3 is setup correctly. It certainly returns the correct number of Hypervisors along with their names for each of our clusters. 

Any help greatly appreciated, Andy

Reply