It is working! Just some words how to implement that on your Environment.
It is a further part after initial configuration:
1. ENABLE SNMP under SNMP Configuration
2. Select TAB USERS and type in your favorite USERNAME, Priv Type and AUTH Type for SNMPV3!
3. If you use a TRAP Destination on a Monitoring System type it in here. I use active monitoring so no need for traps.
the MIB File to check for the right OIDs
the MIB File in the right folder on the nagios installation. Normal path is:
6. Reload snmp on the nagios
7. Test the nutanix system with SNMPWALK to get the right OIDs out from the enterprise MIB Store.
snmpwalk -v 3 -a SHA -A SHA Password -u username -x AES -X AES Password CLUSTER-IP or CVM IP -l AuthPriv -On
8. Pipe the output in a textfile to read the output
snmpwalk -v 3 -a SHA -A SHA Password -u username -x AES -X AES Password CLUSTER-IP or CVM IP -l AuthPriv -On > nutanix-walk.txt (enter)
These Output is without specific NUTANIX MIX Information
9. Do the same with the downloaded and saved MIB File from Point 4 and 5
10 . snmpwalk -v 3 -a SHA -A SHA Password -u username -x AES -X AES Password CLUSTER-IP or CVM IP -l AuthPriv -On -m /usr/share/snmp/NUTANIX.MIB.txt > nutanix-walk-with-mib.txt
11. Output logs more informational now:
12. SNMP is working fine now. Now it is time to check the right OIDs. These are publish in a nutanix document:
Cool. But you have a textfile, NO OID Informations
13. Use a little Tool to get them out now:
IT IS FREEWARE
. Download / Install and open your Nutanix MIB File now:
We only need the OID Section now!
14. Define a new Host in Nagios for your Nutanix Cluster
15. Define the services for the host with simple check_snmp checks now
Example from a cfg config file:
16. Configure the checks you like for your cluster or CVMs and restart the nagios config