Check traffic on specific port using tcpdump


To see traffic on a specific port using tcpdump.

Run the below

tcpdump -i eth1 'port 80'

Advertisements

Esxi – Add SNMP


To add SNMP to free esxi 5.0 do the below.

Log onto esxi CLI

vi /etc/vmware/snmp.xml

Make the following amendments detailed below

<config>
<snmpSettings>
<communities>public</communities>
<enable>true</enable>
<port>161</port>
<targets>YOURSERVERIPHERE@161 public</targets>
</snmpSettings>
services.sh restart

The server should now be available to be polled via snmp.