vSphere Performance – vCenter Server Appliance (VCSA) monitoring

This post is a (late) follow-up on a previous post I did about exploring the monitoring endpoints of the vCenter Server Appliance (VCSA), and an addition to the vSphere Performance blog series.

Now we will add performance metrics and health status of the VCSA to our monitoring solution. We’ll utilize the REST APIs in vCenter and feed the data into our Influx database and visualize it in Grafana.

In vCenter we have the Appliance Management page also refered to as the VAMI. We will use this as a blueprint of what we want to visualize, but we’ll try to fit the important parts into a single Grafana dashboard.… continue reading

Slides from my VMworld session

Last week I did a session about Performance monitoring at VMworld Europe in Barcelona. The session was part of the VMTN Techtalks with vBrownBag.

The slides (without the video demos) and the script used in the demo is available at Github.

The session was recorded and can be seen on Youtube.

Thanks to all that attended the session and to those watched it live on Twitch or have seen the recording afterwards. Also thanks to vBrownBag for giving me the opportunity.… continue reading

vSphere Performance data – New vSphere plugin for Telegraf

Recently there was a new release of Telegraf, a monitoring agent from the guys that built InfluxDB. This new version, 1.8.0, comes with a plugin for vSphere which I’m pretty excited about!

Previously I’ve been testing Telegraf for monitoring some Linux VMs and also my InfluxDB servers and the agent works as expected and it’s as easy to use as the other products in the TICK stack from Influx.

If you’ve followed my blog series about building a monitoring solution for vSphere and other infrastructure components you know that I’ve pulled metrics with PowerCLI scripts. With this new plugin to Telegraf I want to see if I can use this as a replacement.… continue reading

Speaking at VMworld Europe 2018

The schedule builder for VMworld Europe 2018 in Barcelona is finally live and sessions can be scheduled.

For the first time I will have a session at VMworld, as one of the vBrownBag/VMTN community sessions, and I’m really excited about this.

It is very cool that these community sessions are available in the schedule builder and can be scheduled as other sessions. My session is:

Realtime Performance Monitoring – For FREE [VMTN5524E]

The session will be a quick presentation of the work I did through my Performance monitoring blog series. I have only 30 minutes so I won’t be able to cover all of it, but hopefully I will be able to focus on the most important parts and that I can demo some of it.… continue reading

Exploring monitoring endpoints in the vCenter Server Appliance (VCSA) REST API

For a long time, actually since we migrated to the VCSA in 6.5 last year, I’ve wanted to utilize the REST API in the appliance to have some monitoring of them.

For several reasons I’ve had to put that on hold, one of them being that there seems to be something wrong with the back-end authentication calls. I get authentication errors on certain calls no matter which user I am logged in with (also the vsphere.local admin account).

 

After deciding to check it more closely I eventually found a few errors in the VCSA logs which in turn led me to this article by Ryan Harris.… continue reading

Slides and scripts from VMUG sessions

I had the privilege of delivering 3 sessions at VMUG Norway this week in Oslo, Trondheim and Bergen.

With the extremely nice weather in Norway this week in mind the attendance were great and as always the discussions were valuable.

My session on vSphere Performance monitoring were the short version of the blog series I did about how we built our solution for doing performance monitoring of vSphere with InfluxDB and Grafana, and how we easily can customize with adding metrics and datasources.

The main goal of my session was to demonstrate how easy it is to get started with a project like this and get som actual value.… continue reading

Speaking at VMUG Norway

I’ll be speaking at VMUG Norway’s meetings this May.

As always there will be “three sessions in three cities”.

  • Oslo, May 29th
  • Trondheim, May 30th
  • Bergen, May 31st

The topic for my session will be how we have built our own vSphere Performance monitoring solution which I’ve also done a blog series about.

The VMUG meetings are free, for more information check out https://www.vmug.com/norway. I hope you’re able to join!… continue reading

Grafana dashboard

Monitoring FreeNAS with InfluxDB and Grafana

At work I have done some monitoring projects which I’ve done many blog posts about. At home I have a small vSphere environment serving partially as a Lab but it also runs some services we use at home. Of course I do monitoring of this environment as well, and I use both InfluxDB and Grafana as we do at work.

One of my VMs runs Plex Media Server and recently I moved my media library to a separate box running FreeNAS. I’ve used FreeNAS as a part of my lab earlier as an ISCSI target and serving storage for VMs, but it’s now only serving my media files to the Plex VM.… continue reading

vSphere Performance data – Monitoring VMware vSAN performance

In my blog series on building a solution for monitoring vSphere Performance we have scripts for pulling VM and Host performance. I did some changes to those recently, mainly by adding some more metrics for instance for VDI hosts.

This post will be about how we included our VSAN environments to the performance monitoring. This has gotten a great deal easier after the Get-VSANStat cmdlet came along in recent versions of PowerCLI.

We will build with the same components as before, a PowerCLI script pulling data and pushing it to an InfluxDB time-series database and finally visualizing it in some Grafana dashboards.… continue reading

Chronograf dashboard

Exploring the TICK stack

For those of you that have read my blog you probably know I’ve done a series on performance monitoring infrastructure with the help of InfluxDB.

InfluxDB is a part of the TICK stack delivered by InfluxData. All components are open-sourced and available. The TICK stack consists of, Telegraf, InfluxDB, Chronograf and Kapacitor.

This post will do a quick review and some examples on how I have started exploring them in my Performance monitoring project.

To start of the TICK stack is documentated at docs.influxdata.com. The product documentation is very good and gives a lot of insight into how to get started with the products.… continue reading