12/08/2012: This MP has been updated. Please refer to this post for more details of the update. The download link in this post has also been updated.
Over the time, I have seen some issues and challenges for SCCM administrators to effectively and proactively managing SCCM clients. I have personally seen and experienced some challenging issues. For example:
- Silent clients due to the SMS agent host service not running.
- SCCM Clients are reporting to the incorrect site due to the combination of overlapping boundaries and auto site assignment.
- SCCM Clients missing new functionalities due to Missing SCCM hotfixes (i.e. Power Management in SCCM 2007 R3)
- Advertisement executions failures
- SCCM clients unable to connect to Management Points
- BDP configurations inconsistent (A SCCM client is listed as a BDP on the site server but it is not actually configured as BDP)
- Newly installed software are not promptly updated in SCCM site database as the hardware inventory only runs weekly by default.
During last year’s Christmas period, some of my employers production servers were assigned to an incorrect SCCM site and as a result, some applications were pushed out to these servers during a change freeze period. We only founded it out after the fact and realised some of these servers were reporting to the wrong SCCM sites for months!
This has triggered me to implement a solution so we can proactively monitor the configurations and activities of SCCM 2007 clients so we are alerted before anything bad happens!
I started writing a SCOM management pack for SCCM 2007 clients. It took me few weeks to cover all the issues that my team is facing. Over the last couple of weekends, I have spent a lot of time to re-write / re-brand it and document it so I can actually post this management pack in my blog.
This management pack provides some proactive monitoring and automations for all of above mentioned issues /challenges. Does this sound interesting to you? If so, please continue reading. The documentation and the management pack download link is at the bottom of this article.
So here are some details of the management pack.
System Center Configuration Manager (SCCM) 2007 Client Management Packs 18.104.22.168 provides basic monitoring of SCCM 2007 clients.
This set of management packs is intended fill the gap of the official Microsoft System Center Configuration Manager 2007 management pack and focus monitoring the SCCM clients in SCCM infrastructures. These managements pack also provides ability to implement customised monitors to monitor the configurations and baselines of SCCM clients in your organisation’s SCCM infrastructures according to your organisation’s standard. i.e.
· Monitors SCCM site assignment, make sure SCCM clients are assigned to the correct primary site in a multi-sites environment.
· Monitors SCCM client versions to make sure all required SCCM client hotfixes are applied.
· Monitors and make sure any SCCM clients that should be configured as Branch Distribution Points (BDP) are actually configured as BDP.
· Make sure SCCM Client cache size is configured according to your company’s standard.
There are 2 separate sealed management packs (.MP) in this set:
· TYANG System Center Configuration Manager 2007 Library
- Custom Data Source, Probe Action and Write Action modules
- Custom monitor types
- SCOM console actions for SCCM clients
- SCCM client object discovery
· TYANG System Center Configuration Manager 2007 Monitoring
- Pre-Configured monitors and rules
- Folders and Views
Management Pack Overview
The System Center Configuration Manager 2007 Client Management Packs not only provides various out-of-box preconfigured monitors / rules, but also provides some custom modules / workflows which allow you to build your own monitors to suit your System Center Configuration Manager 2007 environments. These management packs extends what Microsoft System Center Minotoring Pack For Configuration Manager 2007 SP2 v6.0.6000.3 has to offer for SCCM client monitoring. This includes:
· Recreated the SMS Agent Host service monitor and included diagnostic and recovery task to automatically restart the service when it has stopped.
· Checks the availability of Management Point of which the SCCM client connects to via HTTP response. The SCCM Management Point HTTP Response Monitor runs hourly to check the HTTP response of the active MP for the SCCM client and generates alerts if HTTP error responses received over 2 consecutive times.
· Checks the version of SCCM clients and generates alert if the version number is lower than 4.00.6487.2157 (KB977384, prerequisite for SCCM 2007 R3)
· Checks SCCM Clients Advertisement Execution history every 30 minutes. If there were any advertisements have been executed over the last 30 minutes, trigger Hardware Inventory so any newly installed applications will be inventoried and stored in SCCM site database. Additionally, if any failed advertisement executions are found, a Critical alert is generated.
1. SCCM Client Property Value Check 2-State Monitor Type. This monitor type can be used to build monitors to monitor SCCM client properties. (i.e. Monitor any SCCM clients that are not assigned to the correct site or Cache Size is not configured according to your organisation’s standard, etc..)
This monitor type Supports the following Properties:
- SiteCode (SCCM Client Site Code)
- Version (SCCM Client version)
- GUID (SCCM client GUID)
- ManagementPoint (MP that SCCM client is connected to)
- ProxyMP (Proxy MP that SCCM client is connected to)
- InternetMP (Internet MP that SCCM client is connected to)
- LogsLocation (path to SCCM client log files)
- CacheLocation (path to SCCM client cache)
- CacheSize (The maximum size of SCCM client cache folder in MB)
- HTTPPort (The HTTP Port for SCCM Client)
- EnableAutoAssignment (if auto site assignment is enabled (true or false)
- AllowLocalAdminOverride (if the SCCM client allows local admin override (true or false))
- IsBDP (If the client is a branch distribution point (true or false))
This monitor type Supports the following Comparison Operators:
- eq (Equal to)
- ne (Not equal to)
- gt (Greater-than)
- lt (Less-than)
- ge (Greater-than or equal to)
- le (Less-than or equal to)
- IsNull (Is Null value)
- NotNull (Not Null value)
2. Write Action module to initiate SCCM client actions
3. Write Action module to repair SCCM client
4. Other Probe Action modules and Data Source modules that were used by pre-configured monitors and rules.
This SCCM client object discovery in this management pack discovers pretty much every SCCM client properties that are visible in the industry well-known utility SCCM Client Center.
Below is a comparison of the properties that SCCM Client Center can check VS. SCCM Client properties been discovered by this management pack VS. what are been discovered from Microsoft’s official management pack:
SCCM Client Center 22.214.171.124:
System Center Configuration Manager 2007 Client Management Pack v126.96.36.199:
Microsoft Official Configuration Manager 2007 SP2 Management Pack v6.0.6000.3:
A number of SCCM Client actions have been built into this management pack. The following SCCM client actions can be initiated via SCOM Operations Console and Web Console:
· Discovery Data Collection
· File Collection
· Hardware Inventory
· Machine Policy Retrieval Evaluation
· Software Inventory
· Software Metering Usage Report
· Software Updates Agent Assignment Evaluation Cycle
· Software Updates Scan
· SCCM Client Repair
The detailed guide for this MP can be downloaded HERE.
Management Pack Downloads:
From below link, you can download a zip file which contains:
- Sealed version of TYANG System Center Configuration Manager 2007 Library management pack(.mp)
- Sealed version of TYANG System Center Configuration Manager 2007 Monitoring management pack(.mp)
- Unsealed version of TYANG System Center Configuration Manager 2007 Monitoring management pack(.xml)
The reason I’m offering the unsealed version of TYANG System Center Configuration Manager 2007 Monitoring management pack is that if you wish to create additional monitors / rules using the workflows in the library MP, you can just build them into the unsealed MP without creating a separate MP (and saves you time to unseal it).
Management Pack Download HERE.
As always, if you have any issues / questions / concerns or suggestions, email me! I’ll try to get back to you as soon as I can (even though recently I’ve been pretty busy at work and in my personal life. And that’s why it took me so long to write a blog article for this management pack!)