How-to get SNMP Data from VMWare ESXi 5 with Dell OpenManage, Cacti, Nagios, Munin or Ganglia

 

So you want to access your VMware ESX 5 host over SNMP? Here is the quick steps to get Dell OpenManage and SNMP on your ESX 5 host up and running fast.  You will need the VIB’s from Dell, also will need to download and install the VMware CLI client for accessing ESX hosts from remote. For the SNMP setups below we are using a generic password inside of quotes(“password”) you should remove the quotes and place the root password of the esx host where you see the quoted password text. We also are setting up SNMP to send traps to 192.168.24.120, you will need to change this to any host you want to receive traps. You will need to replace the server IP address with the address of your ESX5 host. If you use network monitoring applications like Cacti, Nagios, Munin or Ganglia then this is just what you need to start capturing network statistics and graphs.

 

Steps  to install OpenManage.

  1. Downloaded OpenManage VIB from Dell http://www.dell.com/support/drivers/us/en/g_5/DriverDetails/DriverFileFormats?DriverId=N3R0H&FileId=2773322235
  2. Uploaded VIB to ESX host and placed in /var/log/vmware/
  3. SSH to host as root
  4. ran command esxcli software vib install -d /var/log/vmware/OM-SrvAdmin-Dell-Web-6.5.0-542907.VIB-ESX50i_A02.zip
  5. After software install, I rebooted the host.

Steps to configure SNMP

  1. Started vmWare CLI
  2. vicfg-snmp.pl –server 192.168.24.10 –username root –password “password” -c public
  3. vicfg-snmp.pl –server 192.168.24.10 –username root –password “password” -t 192.168.24.120@161/public
  4. vicfg-snmp.pl –server 192.168.24.10 –username root –password “password” -E
    Current SNMP agent settings:
    Enabled  : 1
    UDP port : 161
    Communities :
    public
    Notification targets :
    192.168.24.120@161/public
    Options :
    EnvEventSource=indications

Openmanage Web Interface:

  1. Download OpenManage Server Administrator Managed Node http://www.dell.com/support/drivers/us/en/555/DriverDetails/DriverFileFormats?DriverId=R300521
  2. Navigate to https://localhost:1311, type in ESX host IP address, login and password.
  3. You should be able to view the all the good stuff like “Main System Chassis”, Software, Storage

 

I hope this helps someone out there in cyber space!

Cubert 😎

APC NetBotz 200 Cacti Temp and Humidity Graphs

How to Graph the APC NetBotz 200 Environment Monitor

Get the data templates ->  cacti-apc-netbotz200-data-templates

Cacti Temp and Humidity Graphs for the APC NETBOTZ 200 is different from the NETBotz 400 and 600 models.

The APC Netbotz200 has 8 sensor inputs on the device so each input has a OID associatedwith it. What I did was scan the MIBs available and found where the Temp and Humidity

How to Graph the APC NetBotz 200 Environment Monitor

Get the data templates ->  cacti-apc-netbotz200-data-templates

Cacti Temp and Humidity Graphs for the APC NETBOTZ 200 is different from the NETBotz 400 and 600 models.

The APC Netbotz200 has 8 sensor inputs on the device so each input has a OID associatedwith it. What I did was scan the MIBs available and found where the Temp and Humidity values were stored. They are not stored in the same OID as the NetBotz 400 and 600 models.

To scan your Netbotz 200:

Sensor #1
(name)
snmpwalk -v1 -c public [IP address of Netbotz] 1.3.6.1.4.1.318.1.1.10.4.2.3.1.3.0.1  
(temp)
snmpwalk -v1 -c public [IP address of Netbotz] 1.3.6.1.4.1.318.1.1.10.4.2.3.1.5.0.1
(humidity)
snmpwalk -v1 -c public [IP address of Netbotz] 1.3.6.1.4.1.318.1.1.10.4.2.3.1.6.0.1

Sensor #8 (name)
snmpwalk -v1 -c public [IP Address of Netbotzs] 1.3.6.1.4.1.318.1.1.10.4.2.3.1.3.0.14
(temp)
snmpwalk -v1 -c public [IP address of Netbotz] 1.3.6.1.4.1.318.1.1.10.4.2.3.1.5.0.14
(humidity)
snmpwalk -v1 -c public [IP address of Netbotz] 1.3.6.1.4.1.318.1.1.10.4.2.3.1.6.0.14

The last period in the OID starts at 1 and goes to 14. Each one in succession is another sensor on the Netbotz 200. Using snmpwalk to walk the OID’s will show you what is labeled. Walk this OID to see all sensor names (1.3.6.1.4.1.318.1.1.10.4.2.3.1).

In Cacti add a host with the correct IP and SNMP community (Version 1) then apply the templates provided above to pickup sensor #1 If you need more sensors then duplicate the templates and update the OID in them for the next sensor OID #.

Your graphs should look like..

Party on!!