While complex passwords with random numbers and letters tend to be secure, they’re not very human friendly. In the VMware world, there are still a lot of times where you might need to enter a password by hand vs pasting it in from some password vault. Additionally, if you aren’t careful, your random password may actually be less secure than a human readable one (Ref: Relevant XKCD)
Deploy VMware Webhook Shim Docker Image on Azure Container Instances, then Send vROps Alerts to Slack
There’s been a lot of hype around vROps being able to send REST notifcations since vROps 6.5 rolled out, including some confusing messaging that webhooks make it possible to integrate with chat services right out of the box. However, setting up vROps notifications to Slack is not exactly a walk in the park. Here are the high level requirements:
Am I crazy or is there not a metric that shows how much total RAM has been assigned to a VM at the cluster level? Like if I have a cluster with 10VMs at 10GB of RAM each, I want a metric that tells me that cluster has 100GB of RAM assigned. I lokoed high and low and could not find such a metric. Luckily, vROps supermetrics make it easy to build exactly that.
In my previous post, I showed how to add specific details (IP and FQDN) to vCenter objects ion vROps as custom properties. That’s a handy thing, but it’s a pretty limited use case. To expand the scope a little, I wrote a function that will add any custom property and value to any vROps object.
Adding custom properties to vROps objects is something that can come in super handy but it’s not extremely straightforward how to do it. The vROps API makes it possible using REST, but for Winbros like myself, PowerCLI provides a way as well. A more detailed walkthrough is available on the VMware blog site.
vSphere Tags are something I didn’t use very often until I started using vROps. In vROps, it’s possible to create a Custom Group based on the vSphere tag which can really speed up the creation of those Custom Groups. In a large environment, however, it can be a real chore to create and assign tags on lots of objects in multiple locations. Using PowerCLI, we can easily create and assign tags across multiple vCenters.
We’ve been testing out VSAN here at work and noticed that one of the clusters we rolled out had serious latency issues. We initially blamed the application running on the hosted VMs, but when it continued to get worse we finally opened a case with VMware. Here’s a chart of the kind of stats we were seeing (courtesy of SexiGraf):