Hi.
I wanna use vmware MIB's with snmp to monitoring servals esxi hosts hardware like powersupply failure and cooling system down etc. NagiosXI version 5.2.3 , centos 6.7.
i have done https://assets.nagios.com/downloads/nag ... ios_XI.pdf and Integrating_SNMP_Traps_With_Nagios_XI.pdf
Uploaded servals MIB's to the nagios server as the attached file.
What is the next step? I have try to run the snmp, snmpwalk and snmp trap wizard but cant see any mib to add in the wizard.
snmp service is running on the esxi hosts and all ports are open for this. How is this done, to get it to work?
Esxi MIB's
Esxi MIB's
You do not have the required permissions to view the files attached to this post.
Re: Esxi MIB's
Do you want to use active SNMP checks (run on the Nagios XI server) or you want to use passive checks (SNMP traps, sent to the Nagios XI server)? Can you elaborate?
Can you run successfully snmpwalk against the ESXi server from the command line?
Can you run successfully snmpwalk against the ESXi server from the command line?
Code: Select all
snmpwalk -v2c -c <community> <ip address>Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Esxi MIB's
Active snmp checks, nagios do an poll from the host. see attached file about check command. It seems to find all mib files i have upload but they are not showing up when i run the snmp wizard?
I have also attached an screen with the snmp services that are avaiable in the snmp wizard.
I have also attached an screen with the snmp services that are avaiable in the snmp wizard.
You do not have the required permissions to view the files attached to this post.
Re: Esxi MIB's
In Step 1 of the "SNMP Walk" wizard, clear the "OID" field completely (leave it blank), increase the timeout if needed, and increase the "Max Results" from 100 to let's say 100000.
Select "Force Scan"="Yes", and click on "Next".
See if you are going to get more MIBs in the output.
One of my co-workers (Tom) also pointed out that you will need to add our custom mibs to a file "/etc/snmp/snmp.conf" in the following format:
Note:
1. The file probably doesn't exist on your system, so you will need to add it manually. Set permissions as "root:nagios".
2. Make sure that the actual name of the MIB is consistent with the filename and whatever you place in the "snmp.conf". You can open each MIB file in a text editor to see the actual name.
You can also add ALL MIBs by adding the following line in the "/etc/snmp/snmp.conf":
There is a danger of running into some errors if you load all MIB files this way. Also, the snmpwalk can take a longer time to complete.
Hope this helps.
Select "Force Scan"="Yes", and click on "Next".
See if you are going to get more MIBs in the output.
One of my co-workers (Tom) also pointed out that you will need to add our custom mibs to a file "/etc/snmp/snmp.conf" in the following format:
Code: Select all
mibs +VMWARE-CIMOM-MIB
mibs +VMWARE-ENV-MIB1. The file probably doesn't exist on your system, so you will need to add it manually. Set permissions as "root:nagios".
2. Make sure that the actual name of the MIB is consistent with the filename and whatever you place in the "snmp.conf". You can open each MIB file in a text editor to see the actual name.
You can also add ALL MIBs by adding the following line in the "/etc/snmp/snmp.conf":
Code: Select all
mibs +ALLHope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Esxi MIB's
Yes 
It was enough to increase the timeout and numbers to 1000, then all mib's shows up.
It was enough to increase the timeout and numbers to 1000, then all mib's shows up.
Re: Esxi MIB's
Glad to hear. Are we good to mark this thread as resolved then?
Former Nagios Employee
Re: Esxi MIB's
Yes we can do that, next thing i have to figure out is which vmware mib is for hardware and for what part, for example what mib is for the powersupply failure and what mib is for the cooling fan on the cpu, so on.
Re: Esxi MIB's
I am glad your issue has been resolved! I will be locking this post now. If you have any more questions/issues, please start a new thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!