Tag Archives: Graphite

Send dvSwitch Port Statistics to Graphite

For network analysis I want to have Distributed Switch port statistics in my Graphite installation. I’ve created a script that pulls dvSwitch port statistics from a vCenter server, or directly from an ESXi host and sends them to a Carbon Relay. Ports connected to NSX Logical Switches, which are actually distributed Port Groups, are also included. This allows to create universal dashboards with Grafana for example.

dvswitch-port-statistics-graphite

This script is intended to run as cronjob every minute. Port Statistics are provided as counters which can be easily converted to per second values with Graphite functions.

Read more »

Send NSX Edge Gateway Statistics to Graphite

To monitor VMware NSX Edge Gateways I want to send interface statistics to my Graphite installation. NSX Manager comes with a REST API that allows to pull information in XML or JSON format. I've created a script that pulls Interface, Firewall and Load Balancer statistics from all ESGs and sends them to a Carbon Relay. This allows to create universal custom dashboards with Grafana for example.

nsx-edge-gateway-statistics-graphite

Read more »