Slides and script from VMUG session in December

I had the pleasure of giving a talk about how to do monitoring of the vCenter Server during the VMUG Oslo meeting in December. The session was an extension of what I presented during the VMUG meetings in May and the vBrownbag session during VMworld Europe.

The demos showed how we can get health status and metrics from a vCenter Server Appliance utilizing the new REST APIs shipped in 6.5 and 6.7. During the session I built out a Grafana dashboard with version and uptime information about the vCenter, the health status, vCenter service status, disk utilization and CPU/Memory utilization.

Detailed information about how I’ve built out these dashboards can be found here.… continue reading

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

Limiting disk i/o in vSphere

As a Service provider we need to have some way of limiting individual VMs from utilizing too much of our shared resources.

When it comes to CPU and Memory this is rarely an issue as we try to not over-committing these resources, at least not the Memory. For CPU we closely monitor counters like CPU Ready and Latency to ensure that our VMs will have access to the resources they need.

For storage this can be more difficult. Where we usually have 50-60 VMs on a host we will probably have hundreds on a Storage Array (SAN). Of course the SAN should be spec’ed to handle the IOPS and Throughput you need, but you also need to balance the amount of disk space available and maybe most importantly, the cost.… 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