How It Works

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring Nutanix with Nagios

Adventurer

Monitoring Nutanix with Nagios

It is working! Just some words how to implement that on your Environment.

It is a further part after initial configuration:

https://portal.nutanix.com/#/page/kbs/details?targetId=kA0600000008bAECAY

 

1. ENABLE SNMP under SNMP Configuration

nutanix1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 2.  Select TAB USERS and type in your favorite USERNAME, Priv Type  and AUTH Type for SNMPV3!

nutanix2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3. If you use a TRAP Destination on a Monitoring System type it in here. I use active monitoring so no need for traps.

4. DOWNLAD the MIB File to check for the right OIDs

5. Save the MIB File in the right folder on the nagios installation. Normal path is:

  /usr/share/snmp/mibs/NUTANIX.MIB.txt

6. Reload snmp on the nagios

 /etc/init.d/snmp restart (enter)

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 (enter)

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 (enter)

11. Output logs more informational now:

 

nutanix3.PNG

 

 

 

 

 

 

 

 

 

12. SNMP is working fine now. Now it is time to check the right OIDs. These are publish in a nutanix document:

https://portal.nutanix.com/#/page/docs/details?targetId=Web_Console_Guide-NOS_v4_1:wc_system_snmp_wc...

Cool. But you have a textfile, NO OID Informations

13. Use a little Tool to get them out now:

https://www.paessler.com/tools/mibimporter

IT IS FREEWARE. Download / Install and open your Nutanix MIB File now:

 

nutanix4.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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:

nutanix5.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

16. Configure the checks you like for your cluster or CVMs and restart the nagios config

17. Enjoy

 

nutanix6.PNG

2 REPLIES
Community Manager

Re: Monitoring Nutanix with Nagios

Hi @frsbeckum

 

Thanks for the awesome post, the screenshot will sure help and the details is super.

 

BTW - do you have a blog and/or are you heading out to VMworld SF - would be great to have you come around the Nutanix booth and connect.

 

Thanks

Tags (2)
Adventurer

Re: Monitoring Nutanix with Nagios

Hi,

sorry for long delay. Since 1 year you could find my personal blog (german and englisch)

here:  www.admincafe.de

The most Topics are under Homelab and Nutanix ;-)

 

Regards

Frank