About the blog

My name is Daniel Örneling and I am a senior consultant and product manager for OMS with a focus on Log Analytics and Azure Automation at Approved Consulting in Sweden. In this blog, you will find news and information covering Microsoft Operations Management Suite (OMS), Azure Automation, System Center Operations Manager,  and much more.  I started the blog somewhere back in 2012 as a way to share my knowledge with all of you out there. I hope you will find the blog useful and keep your eyes open for recommendations and implementation guidelines. All of my posts are provided AS-IS with no warranties.

My Microsoft certifications are the following:

  • Implementing Microsoft Azure Infrastructure Solutions
  • Microsoft Certified Solutions Expert: Private Cloud
  • Microsoft Certified Solutions Expert: Cloud Platform and Infrastructure
  • Microsoft Certified Solutions Associate: Windows Server 2012

If you need to get in touch with me or have any concerns or questions, drop me an e-mail at daniel[at]orneling.se or find me on LinkedIn.

DSC0211

9 comments

  1. Hi Daniel,
    I have tried implementing on monitor Remote Desktop Services 2012 R2 with SCOM from your blog, but unable to get performance data of active sessions. My question is
    1) How Run As Account is linked to overrides that we have created and how RD Service Management Pack is taking Run As Account when there is no Run As profile created
    2)In other words, what is the relation that you have made between your custom Management Pack(created for Overrides) , Run As Account and RD Services MP.

    Please help me in providing clarification for the above.

    Thanks in Advance
    Venkata Ramana

    1. Hi Venkata,
      From the MP documentation, i quote “The agent action account can run as Local System or as a named account. When running as Local System, the agent action account has all the privileges needed to discover objects and to run rules, tasks, and monitors.”
      This means that when you haven´t specified a run as account inside SCOM, the Agent account of the server is used. Have you set this to any other than Local System? If that´s the case you need to check that the user has the following:
      1. Must be a member of he local users group
      2. Must be a member of the local Performance Monitor users group
      3. Must be granted the Log On Locally user right

      If you are using the Local System, you could make sure that the Management Server action account is a member of the local group´s “Performance Monitor Users” and “Performance Log Users” to make sure you get access to the performance data.

      For the blog post, I used the Local System as the monitoring account.

      Regards,
      Daniel

      1. Hi Daniel,
        I have done all the above steps that you have specified, but still I am not getting the performance.
        ok let me explain what all have I done, so that you will know where have I missed.
        1) At first, I have considered a Remote Desktop Host Server “xyz”. SCOM is installed in this server.
        2) I have added My local system as agent to the above server “xyz”, so that SCOM is able to monitor my local system.
        3) I have made sure that the management server action account is a member of all the groups that are specified above(Note: Management server action account and my local system are same).
        4) Now I have created Run as Account for my local system which have access to the server xyz and added this server in Distribution list tab.
        5) created MP and override as specified.
        6) if I have checked in monitors tab-> RD Session Host Sessions Statistics view, nothing I am getting.

        Queries:
        1)Will SCOM installed server and RD server can be same or do we have to select different RD server to get performance?
        2)My local system and Management server Action Account is same. Does it has any impact?
        3) My local system is one of the member in Administration Groups of xyz server.

        This is what I have done based on your post. You are the only hope to get this job done.
        Can you please check this and let me know where I have missed and how can it be solved? kindly help me to get this job done.
        Thank you so much for spending your time.
        Appreciate your efforts.

        Regards,
        Venkata Ramana

        1. Hi,
          I´ve added some comments below to your list.
          1) At first, I have considered a Remote Desktop Host Server “xyz”. SCOM is installed in this server.
          I would not recommend this as this might very well affect the performance of SCOM. However, I can´t find anything that says this is not supported or not working.
          2) I have added My local system as agent to the above server “xyz”, so that SCOM is able to monitor my local system.
          So the agent on the machine is running on Local system?
          3) I have made sure that the management server action account is a member of all the groups that are specified above(Note: Management server action account and my local system are same).
          Even though it has nothing to do with it, you should consider changing this to a domain account instead.
          4) Now I have created Run as Account for my local system which have access to the server xyz and added this server in Distribution list tab.
          According to the MP guide, all you need is that the agent action account on the server has the rights i mentioned in my previous reply.
          5) created MP and override as specified.
          6) if I have checked in monitors tab-> RD Session Host Sessions Statistics view, nothing I am getting.
          The MP guide says the following: Checks the status of the RD Session Host server by using three key performance monitors that are enabled by default: the number of active sessions, the number of inactive sessions, and the total processor time per session. Have you checked the rules for the MP to verify that the data you need is enabled and being collected? I would start there.

          Regards,
          Daniel

  2. Hi Daniel,
    Can you please look in to the above post and check what was wrong in that?

    Thank you in Advance.

    Regards,
    Venkata Ramana

  3. Hi Daniel,
    Thank you so much for your reply and helping me. I have modified my solution as per your comments above, but still I’m not getting the result. Please find the below inline comments prefixed with Re:
    I´ve added some comments below to your list.
    1) At first, I have considered a Remote Desktop Host Server “xyz”. SCOM is installed in this server.
    I would not recommend this as this might very well affect the performance of SCOM. However, I can´t find anything that says this is not supported or not working.
    Re: I have considered another Server as RDS “XDB” (might be Database Server), and added agent in this server. Now the agent on the machine is running on this XDB server.
    2) I have added my local system as agent to the above server “xyz”, so that SCOM is able to monitor my local system.
    So the agent on the machine is running on Local system?
    Re: I have added agent in the new RDS Server “XDB”
    3) I have made sure that the management server action account is a member of all the groups that are specified above(Note: Management server action account and my local system are same).
    Even though it has nothing to do with it, you should consider changing this to a domain account instead.
    Re: Yes, it’s a Domain account and it has all privileges
    4) Now I have created Run as Account for my local system which have access to the server xyz and added this server in Distribution list tab.
    According to the MP guide, all you need is that the agent action account on the server has the rights I mentioned in my previous reply.
    Re: Yes, agent action account has all the rights that you specified
    5) created MP and override as specified.
    6) if I have checked in monitors tab-> RD Session Host Sessions Statistics view, nothing I am getting.
    The MP guide says the following: Checks the status of the RD Session Host server by using three key performance monitors that are enabled by default: the number of active sessions, the number of inactive sessions, and the total processor time per session. Have you checked the rules for the MP to verify that the data you need is enabled and being collected? I would start there.
    Re: Enabled the rules that are required to get performance data.
    But still I’m not getting the performance data and unable to see it in the view.
    Do we have to discover the RDS server before checking the performance data?
    Is there any other way to check where I’m getting wrong or missing anything?
    Does logs helps in anyway?
    Thank you for your patience.
    Regards,
    Venkata Ramana

    1. Hi,
      Another thing you may try if you haven´t already is to enable the RD host Agent to act as a proxy. Administration -> Agent Managed -> Find your “XYZ” server, edit properties and enable proxy.
      I´m afraid I don´t have anything more without seeing the servers. I would check the logs on the server to check for errors, both Operations Manager log, Application log and System log.

      Regards,
      Daniel

Leave a Reply

Your email address will not be published. Required fields are marked *