Posts

Telegraf - Service monitoring 'template'

Image
  Manually adding windows services to monitor via the Ops UI can be very high touch/time consuming and if you have a typical environment that has repeat footprint and duplicate monitoring requirements (multiple SQL and Backup server for example) adding the same set of services from a template can be a life saver. There's a few handy scripts in this one - described below : 1. A script to export all windows services and names to a .csv file (that you can then edit - backup server csv, domain controller csv, file server csv etc.) 2. Script to 'import' the required .csv for enabling 'service' monitoring for the required VM. Usage : 1. On a server you wish to 'template' - use the CSV export script to export all running services details into a file you can edit so that it only contains the required services that your SLA's (etc.) need for monitoring on a server. (SQL engine and SQL backup services for a SQL server etc.) - Save this as your 'SQL' monito...

vROps/AOps/vCFOps - Configuration backup automation.

Image
  So....We've had this software in some form for almost 15 years - still with only a manual configuration backup method!... So I've created a script that can be automated to export the the working configuration on a regular cycle to help avoid those configuration 'oops' moments! The script had a few command line arguments described below -  1. Current (vR)Ops URL 2. Authentication Source (AD, vIDM etc) 3. Username 4. Password 5. Export password for extraction of config 6. Download path to save the export 7. Retention days (script will remove backup files older than this value) 8. Log file path Feel free to adjust this script as necessary! Source is in my GitHub repo - here

Adding multiple SSL checks to 'Ops' via API.

Image
The Telegraf agents that are deployed via Cloud Proxies are very useful worker bees, you can give them tasks that can be very handy, I use them to track SSL certificate expiry and to all to add handy metrics like the day of the week, hour of the day etc. and these in turn can be used to create very granular symptoms. Firstly - tracking SSL certificate expiry has be challenging if you have many certificates that you would like to track - to that end, I've made a script that can complete the following actions : 1. Parse a .csv that contains a list of endpoints to check (LDAP, URL etc.) 2. Add the individual task to a VM running your 'worker bee' Telegraf agent. 3. Create a corresponding symptom for each of the endpoints in the .csv file with a 30 day or less status.  You can then add these symptoms to a new alarm or alarm on any 'child' objects for the 'Custom Script' to be notified if any hit less than 30 days remaining. Jump on over to my GitHub repo t...
Image
Self Maintaining VM's in vRO In a busy IT world remembering to disable monitoring during ad-hoc system shutdowns or reboots can be challenging.   I thought I’d have a go at making an API call to the vROps (or Aria) from the affected virtual machines so they could call home in the event of a shutdown - set themselves as ‘in maintenance’ and then when they start back up un-do the maintenance and life would continue on as normal.. …no alarms, no grumpy staff (hopefully!) ;) and we all carry on as if nothing had ever happened. I’ve made this as OS agnostic as possible so that you can compile this on the systems you require. Please note that I’ve simply added the API login credentials to the code below, please use your preferred internal security methods to adjust as necessary. This code is a starter for ten - feel free to modify this as you see fit. Here’s a high level description of the codes workflow : Prep the data required. Grab an API auth token. Grab the vRO objectID from the VM ...

December 2022 VMware Multi-Cloud Briefing

Image
https://blogs.vmware.com/multi-cloud/2022/11/22/vmware-multi-cloud-briefing-december-2022/ After joining the session to preview this video on the future of VMware Aria it's good to see the enthusiasm and drive being put behind this software stack. I'm looking forward to getting stuck in when I can - remember that there's going to be a free tier that you can access - check that out here ( https://www.vmware.com/learn/1732750_REG.html ) You can find the entire multi-cloud YouTube playlist below. https://www.youtube.com/playlist?list=PL9MeVsU0uG673-WGtF77LvytGezcsk4pN

vROps in the Cloud - BETA testers wanted!

The new cloud version of vROps is looking for testers, check out the information below : https://blogs.vmware.com/management/2019/11/announcing-vrealize-operations-cloud-beta-program.html

vROps version 8 now out!

Check out the official release post below! https://blogs.vmware.com/management/2019/08/whats-new-in-vrealize-operations-8-0.html