Skip to main content
Version: 2.11.0

Top VMs with most Connections for NSX Distributed Firewall (10121 / 20121)

Description

This Module handles Distributed Firewall data. It provides top N (by the number of connections) consumers (users) by ESXi Host by Protocol (Destination Port) over a time interval T. Distributed Firewall customers may turn on highest reporting level, and still receive consolidated data (several syslog messages) every T seconds.

This information is provided per ESXi Host (NetFlow exporter).

Parameters

Parameter NameDescriptionComments
Data Collection Interval, secModule logic execution intervalmin = 10 sec, max = 600 sec, default = 30 sec
Application protocol (l4_dst_port) listList of watched layer 4 destination ports. If specified, the traffic is reported by specified ports, and all other traffic is summed up under dest_port=0. If the list is empty, the traffic is reported by all actual destination ports.e.g. 80, 443
N – number of reported VMsTop N (number of reported destinations)min = 0, max = 100000, default = 50 (0 indicates all VMs are reported)
Enable (1) or disable (0) reporting by destination portIf set to 1, enable network traffic monitoring by destination port. If set to 0, report total network traffic as destination port 0 (dest_port=0)default = 0
Enable (1) or disable (0) reporting VM moRefIf set to 1, enable reporting VM MoRef. If set to 0, src_vm_id field will be omitteddefault = 0
Enable (1) or disable (0) reporting VM UUIDIf set to 1, enable reporting VM UUID. If set to 0, src_vm_uuid field will be omitteddefault = 0
Enable (1) or disable (0) reporting VM vCenter UUIDIf set to 1, enable reporting VM vCenter UUID. If set to 0, src_vm_vc_id field will be omitteddefault = 0
Enable (1) or disable (0) reporting VM vNIC keyIf set to 1, enable reporting VM vNIC key. If set to 0, src_vm_vnic_key field will be omitteddefault = 0
Enable (1) or disable (0) reporting Distributed Switch port group nameIf set to 1, enable reporting Distributed Switch port group name. If set to 0, src_pg_name field will be omitteddefault = 0
List of vCenter VMsList of records {ESXi VM MAC address, VM IPv4 address, VM IPv6 address, VDS Port ID, vNIC key, Port Group name, VM name, VM MoRef, VM instance UUID, vCenter UUID}This watch list is populated by External Data Feeder for NFO Agent by connecting to one or several vCenters

Inputs

IPFIX from NSX Distributed Firewall.

Syslog/JSON Message Fields

KeyField DescriptionComments
nfc_idMessage type identifier“nfc_id=20121”
exp_ipNetFlow exporter IPv4 address<IPv4_address>
src_ipSource VM IPv4 address<IPv4_address>
src_ip6Source VM IPv6 address<IPv6_address>
[src_host]Source host name<string>, included when FQDN is on
[src_vm_name]Source VM name<string>, included when source IP is a known VM
[src_vm_id]Source VM MoRef<string>, included when source IP is a known VM and ‘reporting VM MoRef’ parameter is enabled
[src_vm_uuid]Source VM UUID<string>, included when source IP is a known VM and ‘reporting VM UUID’ parameter is enabled
[src_vm_vc_id]Source VM vCenter UUID<string>, included when source IP is a known VM and ‘reporting VM vCenter UUID’ parameter is enabled
[src_vm_vnic_key]Source VM vNIC key<number>, included when source IP is a known VM and ‘reporting VM vNIC key’ parameter is enabled
[src_pg_name]Source VM Port Group name<string>, included when source IP is a known VM and ‘reporting Distributed Switch port group name’ parameter is enabled
dest_portDestination port number (e.g. 80 for http)<number>
created_countCreated flows count<number>
t_intObservation time interval, msec<number>