SCOM: Agent error Keyset does not exist

An issue to be aware of when you package your SCOM agent with your server build image is that when the server is built a certificate is generated for the agent to use, this certificate resides in the Operation Manager Certificate Store. If the server is then renamed due to it having a temporary build name you will see the below error in your Operations Manager event log.

Event: 7022
Source: HealthService

The Health Service has downloaded secure configuration for management group <MG Name>, and processing the configuration failed with error code Keyset does not exist(0x80090016).

Re-installing the agent will fix this issue but there is a simpler solution by Gerrie Louw, open your certificate MMC, navigate to the Operation Manager Store and delete the certificate, then restart your Healthservice.

The symptoms can occur with all versions of the SCOM / MMA agent under the agent packaged with a server image scenario.

Loading

SCOM: Guided walkthrough for troubleshooting UNIX and Linux agent discovery

Microsoft has just released a Guided Walkthrough for troubleshooting UNIX and Linux agent discovery issues in System Center 2012 Operations Manager.

It is available here:KB2993901

It’s nice to see this type of guide being released, cross-platform monitoring with SCOM is still not very common and it can be tricky to get right.

Loading

SCOM: Management pack updates

Microsoft recently released updates to several management packs, including the following:

Windows Base OS MP – updated to version 6.0.7230.0 and is available for download here.

Fixed issues:

  • Bug fixed: Microsoft.Windows.Server.LogicalDiskDiscovery.Module.Type.vbs script does not discover logical disks with large disk size
  • Update to support two configurable threshold values (waiters and timeouts) for triggering alert ‘MAX concurrent API Reached’

Jimmy Harper has also written a nice summary of the “Max Concurrent API Monitor” fix included in the new version of the Windows Server Operating System Management Pack

One change that may require some attention is the update to the “Max Concurrent API Monitor”.

In the previous version of the MP (6.0.7061.0), the Max Concurrent API monitor would run a script that looks at three Netlogon semaphore counters (Waiters, Holders, and Timeouts).  If any of them are greater than 0 and less than 4gb, then we generate an alert. Some customers were seeing false alerts from the Monitor due to some of the counters (especially Semaphore Holders) being greater than zero during non-problematic conditions.

In the new version of the Management Pack, the Max Concurrent API Monitor has the following changes:

  • The Semaphore Holders counter has been removed from the criteria that generates the alert
  • The Alert will only be generated if Semaphore Waiters or Timeouts exceed a defined threshold (instead of 0).  These thresholds can be configured as needed via Overrides.  The default thresholds are:
  • Semaphore Waiters = 50
  • Semaphore Timeouts = 2000

More information on the MaxConcurrentAPI setting can be found here.

 

Active Directory – updated to version 6.0.8293.0 and is available for download here.

Fixed issues:

  • Issue fixed: AD-Trust Monitor does not come back to healthy state
  • Issue fixed: AD_Database_and_Log.vbs does not support using ‘.’ as decimal sign for non-English account.

Cluster – updated to version 6.0.7230.0 and is available for download here.

Fixed issues:

  • Cluster 2008 MP does not collect certain performance metrics.

DNS  – updated to version 7.1.10259.0 and is available for download here.

Fixed issues:

  • DNSMetrics2012R2Probe script can cause high CPU in MonitoringHost.exe

DHCP – updated to version 6.0.7230.0 and is available for download here.

Fixed issues:

  • Various, see guide for full details

Loading

SCOM: Updated MP PKI Certificate Verification 1.2.1.3

Yesterday a new version of the PKI Certificate Verification management pack was released by Raphael Burri, version 1.2.1.3 contains the following changes:

This update is mostly about more powerful filtering options for the certificate discoveries

  • It is now possible to use regular expressions to:
    • Include / Exclude based on “Subject”
    • Include / Exclude based on “Issuer”
    • Exclude based on “Enhanced Key Usage” OIDs

    Note that the filters will have to be based on the exact string output of the certificate objects as presented in PowerShell. Hence check those before attempting to write RegEx filters using:

     ls cert:\LocalMachine\My | fl Subject, Issuer

Click here for additional information.

It is available for download here

Loading

SCOM 2012 R2: Update Rollup 3 Released

Microsoft have just released Update Rollup 3 for SCOM 2012 R2 it is available for download here or via windows updates.

There are a few known issues with this update so be sure to read the KB article and test thoroughly before implementing.

Several issues are fixed with this update including those below:

  • A deadlock condition occurs when a database is connected after an outage. You may experience this issue may when one or more HealthServices services in the environment are listed as Unavailable after a database goes offline and then comes back online.
  • The Desktop console crashes after exception TargetInvocationException occurs when the TilesContainer is updated. You may experience this issue after you leave the console open on a Dashboard view for a long time.
  • The Password expiration monitor is fixed for logged events. To make troubleshooting easier, this fix adds more detail to Event IDs 7019 and 7020 when they occur.
  • The Health service bounces because of high memory usage in the instance MonitoringHost: leak MOMModules!CMOMClusterResource::InitializeInstance. This issue may be seen as high memory usage if you examine monitoringhost.exe in Performance Monitor. Or, the Health service may restart every couple of days , depending on the load on the server.
  • The Health service crashes in Windows HTTP Services (WinHTTP) if the RunAs account is not read correctly.
  • Windows PowerShell stops working with System.Management.Automation.PSSnapInReader.ReadEnginePSSnapIns. You may see this issue as Event ID 22400 together with a description of “Failed to run the Powershell script.”
  • The PropertyValue column in the contextual details widget is unreadable in smaller widget sizes because the PropertyName column uses too much space.
  • The update threshold for monitor “Health Service Handle Count Threshold” is reset to 30,000. You can see this issue in the environment, and the Health Service Handle Count Threshold monitor is listed in the critical state.
  • An acknowledgement (ACK) is delayed by write collisions in MS queue when lots of data is sent from 1,000 agents.
  • The execution of the Export-SCOMEffectiveMonitoringConfiguration cmdlet fails with the error “Subquery returned more than 1 value.”
  • The MOMScriptAPI.ReturnItems method can be slow because a process race condition may occur when many items are returned, and the method may take two seconds between items. Scripts may run slowly in the System Center Operations Manager environment.
  • When you are in the console and click Authoring, click Management Pack, click Objects, and then click Attributes to perform a Find operation, the Find operations seems unexpectedly slow. Additionally, the Momcache.mdb file grows very large.
  • A delta synchronization times out on SQL operations with Event ID 29181.
  • Operations Manager grooms out the alert history before an alert is closed.
  • The time-zone settings are not added to a subscription when non-English display languages are set. Additionally, time stamps on alert notifications are inaccurate for the time zone.
  • Web Browser widget requires the protocol (http or https) to be included in the URL.
  • You cannot access MonitoringHost’s TemporaryStoragePath within the PowerShell Module.
  • The TopNEntitiesByPerfGet stored procedure may cause an Operations Manager dashboard performance issue. This issue may occur when a dashboard is run together with multiple widgets. Additionally, you may receive the following error message after a time-out occurs:

Update Rollup 7 for System Center 2012 Operations Manager Service Pack 1 has also been released and is quite a minor update in comparison to the fixes for R2.

Below are the fixes for that update:

  • The Reset the baseline, Pause the baseline, and Resume the baseline actions fail when you run them against an optimized performance collection rule.
  • The DeltaSynchronizationengine work item times out on SQL operations, and Event ID 29181 is generated.
  • Execution of the Export-SCOMEffectiveMonitoringConfiguration cmdlet fails, and you receive the following error message:
    Subquery returned more than 1 value.
  • Time-zone settings are not added to subscriptions when non-English display languages are set.
  • The Operations Manager dashboard experiences a performance issue that is caused by the TopNEntitiesByPerfGet stored procedure.

Loading

SCOM: Community Management pack for monitoring VMware

This management pack was brought to my attention by Mitch Luedy in response to a question I posed about VMware monitoring solutions for SCOM that specifically showed Datastore information. It’s is always great to see the monitoring community coming together to enhance the solution as a whole.

The MP is available as a free download from here and offers Availability and Performance Monitoring of VMware vCenter Inventory Objects as well as state relationships between various VMware objects.

The management pack uses VMware PowerCLI and PowerShell to gather vCenter objects and come with pre-created views such as below:

Views StateView

Screenshots courtesy of http://madscomer.blogspot.com/

Loading

SCOM: Veeam Management Pack™ v7 release and Special Offer!

A name that that synonymous with monitoring VMware in the System Center Space, Veeam has now expanded their capabilities to give us the same depth and richness of features when monitoring Hyper-V.

Previously I wrote about the beta for the new Veeam Management Pack™ v7 adds support for Hyper-V. Well it has now been released and Veeam even has a special offer, you can get it for free!

“Limited Time Offer! Register today and get up to 100 sockets of Veeam Management Pack v7 Enterprise edition to manage your Hyper-V environment at no cost! Offer ends December 31, 2014.”

Here is a quick recap of the new features in v7:

  • Support for Hyper-V
  • Unique dashboards with customizable Veeam widgets
  • Veeam task manager for Hyper-V
  • Capacity planning for Hybrid Cloud
  • Monitoring and reporting for Veeam Backup & Replication Hyper-V environments

Go here for more information and to sign up.

Loading

SCOM: New and updated SQL Management Packs 6.5.1.0

Microsoft has recently release updated management packs for SQL, the new version is 6.5.1.0. The new features and fixes list is available at each of the download links.

These have been updated:

System Center Management Pack for SQL Server 2014: Download here 
System Center Management Pack for SQL Server (2005/2008/2102): Download here

These are new:

System Center Management Pack for SQL Server 2014 Reporting Services (Native Mode):  Download here
System Center Management Pack for SQL Server 2012 Reporting Services (Native Mode): Download here
System Center Management Pack for SQL Server 2008 Reporting Services (Native Mode): Download here

As always thoroughly test before deploying into your production environments.

Loading

SCOM: Caution with management packs in large environments

Kevin Holman recently published a great article about the inherent pitfalls of importing a management pack into an environment without understanding the intended scope, scalability, and any known/common issues.

Specifically he discusses the Dell  Hardware Management Pack (Detailed Edition) which has a small scalability limitation of 300 agents.

The lesson to learn here is – be careful when importing MP’s.  A badly written MP, or an MP designed for small environments, might wreak havoc in larger ones.  Sometimes the recovery from this can be long and quite painful.   An MP that tests out fine in your Dev SCOM environment might have issues that wont be seen until it moves into production.  You should always monitor for changes to a production SCOM deployment after a new MP is brought in, to ensure that you don’t see a negative impact.  Check the management server event logs, MS CPU performance, database size, and disk/CPU performance to see if there is a big change from your established baselines.

 

Go here for the full article, definitely worth the read.

Loading