Posts

Showing posts from September, 2023

Steamed veggies with cheese sauce

Veggie steam times First bring water to the boil. Potatoes (chopped smallish) - 20 mins. Carrots - 10 mins (10 mins). Broccoli - 8 mins (12 mins). Broccolini/Cauliflower - 6 mins (14 mins). Zucchini - 5 mins (15 mins). Cheese sauce Ingredients 20 gm butter. 1 Tbsp flour. 170 gm milk. 50 gm cheese. Method Takes about 15 mins. Melt butter. Add flour and mix. Add milk and stir until thick. Add cheese.

Garlic

Store notes on garlic. Good info https://www.diggers.com.au/blogs/learn/how-to-grow-garlic

Storing views in a sealed MP for web monitors

Image
If you use the built-in web availability monitors, you can store views for them in a sealed mp. You just need to add the right class to a group and off you go. Generally, the group will live in a  monitoring  mp that already exists. In this example I'll use my  VMware.WorkspaceOne.Monitoring  mp. Now we need to find this class we need. Run this to see the current web availability monitors. Note this matches  Authoring > Management Pack Templates > Web Application Availability Monitoring. get-scomclass -name Microsoft.SystemCenter.WebApplicationSolutions.SingleUrlTest | Get-SCOMClassInstance | sort displayname That's great but we need to see the Name/URL pair listed in each one so we can add them to a group. To see that run this: get-scomclass -name Microsoft.SystemCenter.WebApplicationTest.WebTest | Get-SCOMClassInstance | sort DisplayName For my purposes this is returned in DisplayName : AirWatch Web Console [Web Monitoring] Now just create a group and update the regex s

DNSCMD

Query DNS records from command prompt. Query A records dnscmd /enumrecords zone.name record_name_only dnscmd /enumrecords  zone.name FQDN. (notice trailing .) Query CNAME with detail dnscmd /enumrecords zone.name record_name  /detail

CPU monitoring

I disable CPU monitoring by default. If you ever need to temporarily enable it for testing or to identify issues, I've used these thresholds safely: Monitor name:  Total CPU Utilization Percentage Monitor target:  Windows Server 2012 Operating System or Windows Server 2016 and above Operating System Alert Priority:  Low Alert Severity:  Information CPU Percentage Utilizaton Threshold: 50 (or whatever you want) CPU Queue Length Threshold:  3 Interval seconds: 120 Number of Samples: 1 Notes If you need to enable this for a group of servers, it's often easier to create a non-sealed mp with a group and manually add the servers using Windows Computer class. You can kill the mp when done troubleshooting.