Sample Management Pack - Wizard to Create Powershell-based Monitors

This is a sample management pack for Operations Manager 2007 R2 and System Center 2012 Operations Manager. This management pack provides an example of a wizard to create Powershell script based monitors in the Operations Console. (Both sealed and unsealed versions are included)

 
 
 
 
 
4.4 Star
(8)
5,349 times
Add to favorites
System Center
7/10/2015
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • SCOM 2016 compatibility
    3 Posts | Last post October 27, 2017
    • Did anyone test this MP with SCOM 2016?
      I'm trying to create a monitor which is checking if the firewall is enabled, but there isn't any alert raised.
      
      I'm using the Script from following site: http://tookitaway.co.uk/scom-2012-firewall-state-monitor-script/
    • I am trying to use this one and the SquaredUp on my Upgraded SCOM2016 UR3 and it does not change the state of the monitor. The script does all the tests it just does not send the property bag up to change the monitor state.
    • Hello together. I have the same Problem here. SCOM 2016 RTM.
      The Script in the Monitor is running, but no alert is generated when it should.
      And at another test, the Monitor always shows green state. Never changed it, but the alert was raised.
      
      Someone have a solution. It would be very appreciated when this MP would work on SCOM 2016
  • Cannot able to change the healthy state:
    1 Posts | Last post April 05, 2016
    • I tried this wizard but I am not able to change to the current healthy state
      Here is the link what I have done:
      https://social.technet.microsoft.com/Forums/systemcenter/en-US/1884e2fa-1baf-4985-b47a-12414e982697/creating-new-monitor-rule-using-powershell-script-forrunnig-sql-query-to-find-number-of-connection?forum=operationsmanagergeneral&prof=required
  • Rules
    2 Posts | Last post April 05, 2016
    • I loaded this up and can now use Powershell scripts for monitors; excellent! Any chance of getting one...or being pointed to one...that will facilitate Powershell scripts for rules?  Thanks much for this one in any event, helped a lot!!
    • Hi anyofus,
      
      I am also trying to use this powershell script but cannot able to use it properly can you help me,please.
      I create simple sql query to see the number of connection adn put it in powershell script but it is not changing its state from healthy to critical even if i change the value.
      
      Here is the link what i have done:
      https://social.technet.microsoft.com/Forums/systemcenter/en-US/1884e2fa-1baf-4985-b47a-12414e982697/creating-new-monitor-rule-using-powershell-script-forrunnig-sql-query-to-find-number-of-connection?forum=operationsmanagergeneral&prof=required
      
      
      
  • rename the display strings
    1 Posts | Last post December 10, 2015
    • Wei,
      maybe you could rename the template to something other than "Sample..." so that it could be used without the taste of something that is just a PoC. 
      
      Thanks, Patrick
  • Script parameter support
    2 Posts | Last post December 10, 2015
    • Hi!
      
      That is awesome. Will you extend it for script parameter support?
      
      Thanks,
      Patrick
    • done. thanks! :-)
  • What else is needed to create a script?
    1 Posts | Last post December 05, 2014
    • As per my Assumption this will help to create powershell script in GUI mode.
      If my understanding is correct, please let me know what other tools needs to be downloaded to work with it.
      
      Regards,
      Prashant