SCOM Management Pack VSAE Fragment Library

Download here: is the SCOM Management Pack Fragment Library which includes VSAE Fragments you can use to make SCOM management packs quickly and easily.See instructions at:

5 Star
Add to favorites
System Center
E-mail Twitter Digg Facebook
  • v4.3 Rule.Performance.Collection.PowerShellScript.mpx
    2 Posts | Last post September 26, 2019
    • I'm trying to create a Rule with which a count of the events in Operation Manager log on de management server in the last 5 minutes is added to the datawarehouse.
      I've tried the fragment, but I can't get it to work.
      I made the global changes and have a working script. I'm running the rule against SC!Microsoft.SystemCenter.Agent.ManagementServer.
      In MP Simulator I can see the trigger, but nothing else. The script should log two events in de Operation Manager log, but they don't show up. Manual start of the script gives me the event in de log
      Installing the Management Pack in a test environment, I can see the rule active on the server, but still no events in the log.
      Can someone give me some help?
    • Found the solution.
      I had the script as an $IncludeFileContent linked to the ProbeAction. The first and last line of the script were comments (#).
      I've added empty lines before the first comment and after the last comment, and the script runs in MP Simulator.
  • How create a "monitor type"
    1 Posts | Last post February 08, 2019
    • Hi, I hope someone can help me with this. I am creating a perzonalized monitor to evaluate the service every x seconds. I need to change the frequency to 60 seconds.
      I based myself on Kevin's article, I created the "monitor class" and the "service monitor" for the application but I can not identify is how to insert the parameters of the humbrar? I have to create a "monitor type"? Can someone give me a hand with this?. I am not a expert person T-T - thank you everybody!
  • Fragments v3.5 - Monitor.Performance.ConsecSamples.ThenScript.TwoState.mpx Description needs update
    1 Posts | Last post December 15, 2018
    • The fragment Monitor.Performance.ConsecSamples.ThenScript.TwoState.mpx seems to be exactly what I'm looking for to support a customer request, but it looks as if the Description has not been updated since version 1.2.
      The Description contains guidance for CompanyID, AppName, ClassID, and UniqueID.  
      However, the v3.5 Fragment has the following Params:
      Per the description, UniqueID and CounterName would be duplicates, which is not permitted.
      Do you have an example of how to properly edit this fragment?
      P.S. - I am using MP Studio to create MPs and edit fragments, but I have not yet found any Videos or Guides on working with Fragments, only VSAE and MP Author Pro.
  • Did VS 15.9 break VSAE again?
    1 Posts | Last post November 16, 2018
    • With VS 15.9 and VSAE, we now get the error below when creating a new MP project:
      'C:\Users\(omitted)\AppData\Local\Temp\rbuh3if5.twb\Temp\DemoApp.mpproj' cannot be opened because its project type (.mpproj) is not supported by this version of the application.
      To open it, please use a version that supports this type of project.
  • Spaces in regkey value name
    2 Posts | Last post October 16, 2018
    • I'm trying to monitor a dword value but the value name contains spaces. Isn't that possible with the registryvalue.content fragments?
      I guess i can use powershell also for that but it seems overkill.
    • Ugh - my fragment uses the regvaluename in the ID of the MP - which is not allowed to have spaces.  This is a scenario where you'd have to do just a little work to the XML as soon as you create it..... or change the ID to use a UniqueID.
  • Visual Studio 2017 VSAE Crashing
    2 Posts | Last post October 16, 2018
    • I have Visual Studio 2017 installed, authoring extensions installed, and when I try to add one of your MP fragments Visual Studio just crashes. I am not the only one. 
      What can I do to fix this? 
    • This is fixed in an upcoming updated for VSAE.  An updated to Visual Studio caused it.
  • Monitor.service.withalert.freqAndSamples.mpx
    2 Posts | Last post October 16, 2018
    • Looking to use this .mpx. The description implies that we would have to create this monitor for each service we want to monitor. 
      "ServiceName - must be the short name of the service as seen in the registry "
      Is that true? 
      we would like to be able to monitor all services that are set to automatic and have them restarted if they stop. 
      Any help is appreciated. 
    • Monitoring ALL automatic services would probably not be a great idea.  You'd end up with a lot of services that are designed to stop.  You could use a script based monitor for something like this.... but the whole concept is a bit archaic - because it doesn't give you granularity to separate for different application health models, service owners, etc.  There are several examples on the web in different blogs for accomplishing this.
  • Class.Group.ADGroupWindowsComputers.mpx -> Discovery not working
    3 Posts | Last post August 16, 2018
    • Hi Kevin,
      I'm trying to use the Class.Group.ADGroupWindowsComputers.mpx fragment to populate a scom group based on a AD group. The project build without any problem but when I try to open the properties of the the group in SCOM I see the mesage 'The group can not be modified because there is no groups population rule defined for thi group'
      Is this a know issue?
    • Pretty sure you’re seeing this popup, because the fragment does not target the instance group class itself. Therefore, as the message states, not discovery rule defined for the group. 
      Still the group will populate and you should be able to view group members. 
      Hope this helps
    • Interesting - there really isnt any reason I could not target the group, and that honestly would be a better target since it would load balance where all these scripts are running.
  • MP Fragment for Monitor.2StateEvent
    2 Posts | Last post July 17, 2018
    • Hey Kevin, 
      How do you go about creating the MP fragments? I am looking to create one for monitoring the eventlog for a first and second event. Example Looking for Application log event id 8 and generating an error when i find it, and then clearing the alert when event id 7 is found.
      Any help, or direction you can point me would be great!
      Thanks in advance.
    • I think i figured this out on my own. 
      1. downloaded vsae for vs2017 and installed it
      2. Created a new management pack
      3. Created a new monitor
      4. configured the monitor as much as i could, realized that i don't have configuration information, went and got that here:
      5. Changed all the changible bits to ##companyid##, ##appid##, etc.
      The only thing im struggling with now is how do you figure out what the required references are? 
      Thanks again in advance.
  • Addition to Monitor.Service.WithRecovery.WithAlertRulesfragment
    1 Posts | Last post March 16, 2018
    • I've added a rule, disabled by default, to alert on event 3760 to facilitate notifications for successful restarts. Unfortunately I can't paste the code here because of the character limit but it's a basic copy/search/replace action.
1 - 10 of 24 Items