First off this is an updated script from Jason Rydstrand’s SCOM 2007 R2 daily check script. If you would like to check out the original please see http://blogs.technet.com/b/jasonrydstrand/archive/2013/03/27/daily-scom-health-check-with-powershell.aspx
I’ve updated the commandlets so it can be used for SCOM 2012 and SCOM 2012 R2. This script is intended to use Gmail as the mail delivery method. It can be easily changed to use other email systems but I’ll save that for a future article. The only part that will need to be modified is the following:
$UserName is your Gmail email account
$Password is your Gmail password
$mailmessage.from is who the email will be coming from
$mailmessage.To.Add can be any additional people you would like to send this email to.
Script is available for download at Microsoft TechNet Script Gallery: http://gallery.technet.microsoft.com/scriptcenter/SCOM-2012-Daily-Health-5950d801
Originally posted on Quae Nocent Docent:
One module to rule them all – a custom #scom managed module
During many years of MP development I faced cases where I would have loved the chance to pass a complete DataItem to a powershell module. There are many real world cases when you’d want to do that:
-You want to leverage the native OLEDB provider and you want to correlate multiple returned rows
-You need to use internal data sources that do not return property bags, but rather custom DataItems (for example the Microsoft.SystemCenter.GetWorkflowsReportProbe that can be used to query the agent for running and failed workflows)
-you need to take care of an entire walk from the standard SNMP modules and add logic to create your own data
-You don’t know how many properties the DataItem has in its payload and you want dynamically process them all
Today this is not possible for…
View original 1,117 more words
Two half-days – Wednesday July 16th & Thursday July 17th – 9am-1pm PST
Software-Defined Networking with Windows Server and System Center Jump Start
Free online event with live Q&A with the WAP team: http://aka.ms/WAPIaaS
IT Pros, you know that enterprises desire the flexibility and affordability of the cloud, and service providers want the ability to support more enterprise customers. Join us for an exploration of Windows Azure Pack’s (WAP’s) infrastructure services (IaaS), which bring Microsoft Azure technologies to your data center (on your hardware) and build on the power of Windows Server and System Center to deliver an enterprise-class, cost-effective solution for self-service, multitenant cloud infrastructure and application services.
Join Microsoft’s leading experts as they focus on the infrastructure services from WAP, including self-service and automation of virtual machine roles, virtual networking, clouds, plans, and more. See helpful demos, and hear examples that will help speed up your journey to the cloud. Bring your questions for the live Q&A!
Register here: http://aka.ms/WAPIaaS
This is going to be a link heavy post on all things WAP. The Building Clouds blog folks at (http://blogs.technet.com/b/privatecloud/) are putting out the word that they are looking for customer feedback on the WAP. Make suggestions and vote on the best suggestions.
The Feedback Link is http://feedback.azure.com/forums/255259-azure-pack
TechNet Link for WAP http://technet.microsoft.com/en-us/library/dn296435.aspx
Forums Discussion WAP http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazurepack
Just trying to do my part on getting the word out!
Links from today’s presentation about OpsMgr Administration 101.
Hot Fixes for both Application and OS. Great blog article on this topic provided by Kevin Holman. Kevin does continue to update this page as new hot fixes are released. http://blogs.technet.com/b/kevinholman/archive/2009/01/27/which-hotfixes-should-i-apply.aspx
It is critical for a new SCOM Admin to understand that there are hot fixes needed for the SCOM Application as well as special OS level hot fixes that are needed after the agent has been deployed. It is best to deploy these hot fixes before deploying OpsMgr agents or infrastructure, b/c these hot fixes also apply to the SCOM infrastructure boxes.
Boris’s OpsMgr Tools – Updated (MP Viewer)
Stefan Stranger’s System Center Operations Manager 2012 Toolbox
MP Authoring Tools
SCC Health Check MP Version 2 (Create new data source before importing the MP in SQL SRS see readme file)
MP Wiki (MP Diagrams and downloads)
Use the OpsMgr planning excel file (see Stefan’s link above to download this file) to help calculate the OpsMgr DB sizes, and create the DBs to the Sizes’ requirements. The reason to do this is to avoid the SQL adding space to your database which will fragment your database as well as cause I/O overhead while the Database file is grown. Why would this be bad? OpsMgr is a very database I/O intensive application. Why add more overhead to SQL when you do not need to?
There should be at least 40% free space in the Operations Manager database. Every night at 2 am a job runs to re-index certain tables. In order for this to run optimally and not fill up the database there should be at least 40%.
OpsMgr Reports from SCC Health Check Version 2!
I would suggest at a minimum having the following reports sent to your inbox on a daily basis and keep them in a folder to compare month to month changes in these metrics. Each of these reports can help trouble shoot possible issues in the future, i.e. after implementing a MP State Changes per day increases by 5000.
State – Noisiest Monitors (OM)
State – State Changes Per Day (OM)
Config Churn – Discoveries Last 24 Hours (DW)
Performance – Performance Inserts Per Day (OM)
Performance – Top 20 Performance Insertions By Perf (OM)
Events – All Events Count By Last 7 Days (OM)
Events – Top 20 Computers Generating the Most Events (OM)
Misc – Operational and Datawarehouse Usage Report (OM) – (DW)
Alerts – Number of Alerts per Day (OM)
Alerts – Top 20 Alerts By Alert Count (OM)
Alerts you can close
All alerts are not created equally. The only alerts that should be closed in the console are alerts generated by a Rule.
Alerts generated by a monitor should have the health of the monitor reset.
Configure System Center Advisor
We are finalizing the Agenda this week and I’ll post it once it is completed here. It should be a great meeting. If you are interested in attending please register for the event here, http://www.eventbrite.com/myevent?eid=10817697023 which is at the Microsoft Alpharetta facility.