Being a NetApp partner, generally every ESX installation I do is backed by NetApp storage. I had been looking for an open source package that I could run on ESX to monitor the ESX server as well as NetApp storage appliances.
I started out using unnoc, and it seems to do what I am after. You can grab it from here. It is built with an IDE disk so if you want to use it on ESX you need change the disk. To do that run the following (I will assume you are currently in the directory that has the unnoc files) to clone the disk:
vmkfstools -i unnoc-1*.vmdk unnoc-scsi.vmdk
Create a new VM using a custom configuration, select Linux as the Guest os and Other Linux as the version. Select use an existing virtual disk and use unnoc-scsi.vmdk
Once that is done boot it up, the default login is root/unnoc123. Change the default password, and configure an IP address, gateway and DNS servers.
- passwd
- ifconfig eth0 <ip> netmask <subnet mask>
- route add default gw <gateway ip>
- nano /etc/resolv.conf
At this point you should be able to SSH into the box as well as view the default unnoc web page on the server.
First thing to do is make sure SNMP is enabled on the filer, from the command line run:
options snmp
Make sure snmp.enable is set to on, then run snmp and it should tell you the the community string is public and set to ro.
Edit the unnoc.conf file: nano /var/www/unnoc/etc/unnoc.conf
scroll to the very bottom and add a new entry:
host {
hostname = <filer name>
community = public
type = netapp
}
Adding the esx server:
host {
hostname = <esx server>
service_url = https://<esx server>/sdk/vimService
community = public
type = esx
user = <user>
password = <password>
}
Note: You may need to check your settings on the ESX firewall if you run into communication problems.
Recent Comments