in

myITforum.com

Brad Bird at myITforum.com

July 2008 - Posts

  • OpsMgr Performance Reports not showing any data

     

    I was following a MyItforum thread this morning and hapenned on a discussion on performance reporting and in particular creating performance reports.  This is initially a truly challenging concept in Operations Manager.  The reason for this is getting around the targeting concept.  While this concept is quite logical in conception, speaking for myself, I still have to correct my targeting routinely until I get it right.  Below, I include a perfect example which has been taken from Kevin Holman's OpsMgr Blog. 

    Here is the source: http://blogs.technet.com/kevinholman/archive/2008/04/21/why-do-my-reports-show-no-data.aspx

    Why do my reports show no data?

    Often times.... I hear about reports not showing any data.  Especially ad-hoc performance reports.

    When we run a report – we have to run the report against the same object type (class) that the data was collected from.

    The problem is – “how do you know what object type that was???”  This is a common issue, and makes reporting, while rich, very painful at first.

    The best answer – is to search for the rule collecting the performance data, and find out what object it is targeting, then try and include that object in the report.  This is often difficult to find….. and does not explain why this report works from the monitoring console, but not from the generic report library.

    Here is why:  I will use a simple perf counter of "Processor %Processor Time"

    When you ran that report from the monitoring console – it automatically chose the Windows Computer object as the report target – but it added it “as a group” instead of “as an object”.  We know this – because the “include” shows “all contained objects”.

    clip_image001

    When you are running a report manually – from the generic report library – you add the same Windows Computer object.  And you click “Add Object” because that makes the most sense.  However – you get no data returned.

    This is simply because the rule you are looking for “Processor % Processor Time Total” is targeting a "Windows Operating System" class – not the Windows Computer.  When you add the Windows Computer abject as a group, it adds the Windows Computer object, and ALL contained objects.  The OS is a child object of the Windows Computer.  If you look at a management pack guide - you will often see that most classes in a MP have a child relationship to the Windows Computer (or Windows Server) object class:

    image

    To make this a little easier to understand – when you run the report from the monitoring console (and get the data) – we actually show you the object instance that returned data:

    clip_image003

    This is the report from the console – see how it shows “Windows Operating System” and then the instance of it?  This is the object you would need to pick to get data back.

    So – in general – when creating ad-hoc reports – always try adding the Windows Computer object – as a group – and see if that is successful for you.  As long as the object you are looking for is a child of the Windows Computer – it should work.  If it doesn't - then spend a little time searching for the rule that collects the perf counter, and see what object it is targeting.  Either target that specific object instance, or a class that is a parent, and add it "as a group".

  • Cluster information showing up as not monitored in OpsMgr cluster diagram view

     

    I ran into an interesting issue with SCOM.  After having imported the cluster MP version 6277 and confirming that agent proxying is enabled on all monitored nodes, cluster information still does not get populated for all clusters:

    The empty green circles show examples of cluster info not being discovered vs checked (Healthy) or yellow (warning) or red (problem) information:

    image image

    I found a way to manually target the discovering of clustering component information. 

    Using the cluster name, open Computer Management and cluster administrator.

    Browse any cluster name with information not discovered.  Determine the nodes which are part of the cluster.

    Then, in the SCOM console on the Monitoring Node, access the Cluster Service State view within the Microsoft Cluster MP.

    image

    Then, select a node that participates in the cluster.

    Now, under Actions, select Discover the Cluster Components under Windows Cluster Service Tasks:

    image

    The task result will show success and will indicate that no output is available, that is OK.  Repeat this process for all nodes participating in the cluster.

    image

    Now, go back and view the cluster in the diagram view.  The information should start to populate.  There may be a discovery period before the information becomes available.  You may also need to stop and start the OpsMgr Health Service.

  • Hot shot OpsMgr maintenance - No alerts

     

    The challenge: 

    Dedicate hardware in VMWare to all SCOM servers and bring back fully functional all with no alerts from maintenance.

    The technique:

    Fail DB clustered resources to node2 which will remain up.  Place Node1 in maintenance mode.  Down Node1.  Dedicate hardware.  Start Node1.  Make sure all is well, stop maintenance mode for Node1.

    Fail DB clustered resources to node1.  Place node2 in maintenance mode.  Down Node2, dedicate hardware.  Restart Node2.  make sure all is well, test fail-over.  Stop maintenance mode for node2.

    Place secondary management server and any 3rd party component servers in maintenance mode.  Down servers.  Deicate hardware, then restart servers.  Make sure all is well.  Stop maintenance mode for these servers.

    Place Root Management server in maintenance mode (you read that correctly), please note the server had a snapshot taken and is SP1...  Down RMS, and dedicate hardware.  Restart RMS.  Make sure all is well.  Stop maintenance mode.

    Result:  Mission accomplished, Brad rocks!

Copyright - www.myITforum.com, Inc. - 2010 All Rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems