KB: Fixing the “Object reference not set to an instance of an object” error during the Oracle connection TEST

KB: Fixing the “Object reference not set to an instance of an object” error during the Oracle connection TEST

*Update : Rollup 10 for SCOM 2012 SP1 fixes this issue (https://support.microsoft.com/en-us/kb/3071088)

*Update : Rollup 7 for SCOM 2012 R2 fixes this issue (https://support.microsoft.com/en-us/kb/3064919)

Issue:

You are deploying the OpsLogix Oracle Management Pack to an environment using a Windows 2008 R2 (or earlier) server as an Oracle Monitoring Node (1). Using the “Oracle IMP Configuration Dashboard” to setup the Oracle Instances monitoring you get an error message (3) “Object reference not set to an instance of an object” when clicking the “Test Connection” button (2).

 

Analysis:

This problem is related to the Dot Net version loader. This loader is built into the SCOM agent and will decide with wicht Dot Net version to load at runtime. The OpsLogix Oracle Management pack uses a Dot net 4.0 module. The agent still tryies to load it as a Dot Net 2.0 module which will result in an error.

Solution:

Since this is an internal SCOM agent issue, and not directly OpsLogix related, we have the following workarounds:

  • Microsoft recognised this issue and indicated that the next RU for SCOM 2012/SP1/R2 will include this loading fix.
  • You can manual install a SCOM Gateway instead of a SCOM agent.
    Note:
    • You don’t have to generate any certificates.
    • Do NOT run the Gateway Approval tool.
    • Use the Pending Management for approving the agent add (be sure the SCOM security setting allow this)
    • A SCOM Gateway will work exactly like a normal SCOM agent except it is tuned for handling higher workloads.

If you have any questions please contact our support team at Support@opslogix.com

 

Howto: Adding a link that opens the target Health Explorer Web Console.

Howto: Adding a link that opens the target Health Explorer Web Console.

In this HowTo I explain how we can open a SCOM Health Explorer by clicking on a ProView dashboard shape

What we need:

  1. The web console URL.
  2. The target ID that we want to show the Health Explorer on.
  3. Construct the URL.
  4. Add the URL as visio shape link.

1 The Web Console URL

Open the web console and copy the URL name, see the yellow part

http://scom2012r2/operationsmanager/#/overview(name=Microsoft.SystemCenter.Monitoring.ViewFolder.Root)

2 The Target ID

To get the Target ID (1) select the correct health state shape you added already to the dashboard. Now open the Shape Data (2)

Now copy the MonitoringObjectID guide

3 Construct the URL

Now we construct the URL that we are going to call when we press on the shape.

We can open, for example, the views below. Replace the ObjectID with the MonitoringObjectID got from the step 2 above and also replace the <web console url> with the correct URL got from step 1.

StateView single object http://<web console url>/MonitoringView/default.aspx?DisplayMode=Pivot&ViewType=StateView&PmoId=objectId

AlertView single object http://<web console url>/MonitoringView/default.aspx?DisplayMode=Pivot&ViewType=AlertView&PmoId=objectId

HeathExplorer single object
http://<web console url>/MonitoringView/ResultViews/ViewTypeHealthExplorer.aspx?targetId=objectId

Diagram view http://<web console url>/MonitoringView/default.aspx?DisplayMode=Pivot&ViewType=DiagramView&PmoID=PmoId

An example for a Health Explorer would be: http://scom2012r2/MonitoringView/ResultViews/ViewTypeHealthExplorer.aspx?targetId=68b6018a-ebec-d945-7f8e-7df8c08ea3fa

And for an Alert view: http://scom2012r2/MonitoringView/default.aspx?DisplayMode=Pivot&ViewType=AlertView&PmoId=68b6018a-ebec-d945-7f8e-7df8c08ea3fa

We will take the Health Explorer view.

4 Add the URL as visio shape link

Now you select (1) the shape you want to put the Health Explorer on and (2) open the hyperlink option.

Copy and paste (1) the constructed URL from part 3 and press OK (2)


To test you now press the dashboard preview and hover over the shape that you applied with the hyperlink. Click on it when the cursor changes to a hand (1).

VMware Management Pack for Operations Manager 2012 – v1.3.0.98 Release

A new release v1.3.0.98 for the OpsLogix VMware Management Pack for Operations Manager 2012 is available. This version of the Management Pack is upgrade compatible with the previous release (v1.3.0.52). If you have already purchased the Management Pack and have a valid support contract, you can logon to the customer download area and download this version.

Version 1.3.0.98 contains the following changes:

– Fixed bug for resource pool discovery events in eventlog
– Fixed Hardware discovery 10000 event (long running discovery)
– Fixed bug that causes all monitors to turn healthy when an additional vcenter is added to monitoring.
– Various bug fixes to managed modules