Description

  • Brief Description
    • Use "Event From Perl" monitor leveraging built-in "SC.exe" to monitor all Windows Services set to Automatic and return Windows or Service Exit Code to Operator along with Definition to aid in troubleshooting.
  • Benefits / Value
    • Discovering OS and Application Issues faster and in a more 'one-size-fits-most' way. Using native OS application SC.exe versus WMI the queries are more dependable and faster. Rationale is that if a Service is important to be set to Automatic then it should be up and running. Many applications have multiple services that may fail but not immediately affect the application but have long-term ramifications i.e. SQL Agent Service may cause Maintenance Jobs to fail which impact things like Backups failing, leading to Disk Full conditions or worse when main SQLServer.exe fails.
  • Design details
    • AutoSvcCheck code also allows for Excluding of Services either Globally or Locally as Instrumentation text files. Also included is the Windows Error.h file (as text) to retrieve Windows and/or Service Exit Codes.
    • I also used same code to Monitor All Services for Hung Condition and will also Close Original upon returning to normal Operation.
    • I am attaching a OneNote that further describes logic and details. Also including the Content Pack as well as the original Perl Code for both scripts (see attached SvcMon.zip).

Minimum Requirements

Content Pack requires Version 12.x of the Operations Agent to function as it uses the "Event From Perl" mechanism.  It has been tested on Windows 2008 R2 and Windows 2012 R2 systems.

Suggested apps

Suggested for you are based on app category, product compatibility, popularity, rating and newness. Some apps may not show based on entitlements. Learn more about entitlements.

Releases

Release
Size
Date
Windows Service Monitoring Content Pack 12.04
184.3 KB
  |  
Oct 24, 2018
More info Less info
Product compatibility
Version 10.20 · 10.60 · 10.61 · 10.62
Release notes

Version has only been tested on HPOA 12.04 and OMi 10.62.  

After importing the content pack you will find two new Policy Templates under "Event"-> "Event From Perl".  One script is for monitoring All Automatic Services Only and the other monitors all Services for any Hung (Start Pending/Stop Pending) Conditions.  There is a Microsoft OneNote file in the package which contains some basic information about this package and its instrumentation.  The Global Exclusion text file comes pre-populated with some Service Type 10 (on-demand) and other services which remain off even though they are Automatic.  You can either add to this Global Exclusion list and push to enterprise as instrumentation or simply add to the Local Exclusion List for one-offs on each individual system. Policy will generate a Close Event which you can setup as a Close Key to have original event closed when service is returned to normal operation.

 It should be a small task to create a complimentary tool from console that would extrapolate the Service Name and save it to Local Exclusion based on Change Request or SME request to ignore a 'noisy' service.  This is more process-based than technical. 

Languages
English
Files
(184.3 KB)

Unsubscribe from notifications

You are receiving release updates for this item because you have subscribed to the following products:
If you unsubscribe, you will no longer receive any notifications for these products.
Tip: to update your subscription preferences, go to Manage Subscriptions from your Dashboard, uncheck the products you no longer want to receive notifications for, and click 'Save'.

Marketplace Terms of Service

In order to continue, you must accept the updated Marketplace Terms of Service
Since you are downloading an app from the OpenText Marketplace, you need to accept the updated Marketplace Terms of Service before you can continue. Use the link to review the Marketplace Terms of Service. Once complete check the, "I accept the Marketplace Terms of Service" box below and click accept to continue your download.


Your download has begun...

Your download has begun

Related content and resources

Your browser is not supported!

Please upgrade to one of the following broswers: Internet Explorer 11 (or greater) or the latest version of Chrome or Firefox

release-rel-2024-5-1-6172 | Mon Jun 24 04:52:54 PDT 2024