CentOS Debian ESXi Linux VMWare

Graphing disk temperatures with the Eluna Graph System

I have been using the Eluna Graph System for several years, as I like it’s simplicity. As per this post, I graph my ESXi disk temperatures so that I can keep an eye on them. Content of create.sh: #!/bin/bash rrdtool create esxi_disks.rrd \ –start `date +%s` \ –step 300 \ DS:disk1:GAUGE:600:0:U \ DS:disk2:GAUGE:600:0:U \ DS:disk3:GAUGE:600:0:U […]

ESXi VMWare

VMWare / ESXi logging disk temperatures

Following on from a previous post, this details how I log my ESXi disk temperatures. The temperatures are gathered with this script: #/bin/sh # /vmfs/volumes/datastore2/hp/hpacucli ctrl slot=16 pd all show detail |grep “Current Temperature (C):” |awk -F “:” {‘print $2’} |xargs |sed -e ‘s/ /,/g’ > /vmfs/volumes/datastore2/hp/disk_temps.txt cat /vmfs/volumes/datastore2/hp/disk_temps.txt | nc -w 3 1025 Port […]

ESXi VMWare

Adding firewall rules to ESXi 5.5

I needed to add a custom firewall rule to my ESXi box, so that it could send email notifications. Firstly, I created an smtp.xml file (see below) and this is stored on one of my datastores (in my case /vmfs/volumes/datastore2/hp/). To make this persistent across reboots add the following lines to: /etc/rc.local.d/local.sh cp /vmfs/volumes/datastore2/hp/smtp.xml /etc/vmware/firewall/ […]