Community in read only mode June 18 & 19
This community will be set in READ ONLY mode for a while on Tuesday June 18 into Wednesday June 19 while we import content and users from our Micro Focus Forums community site. MORE INFORMATION

Include All Windows Automatic Service and All Service Hung Monitoring Pack as Part of Product

Include All Windows Automatic Service and All Service Hung Monitoring Pack as Part of Product

  • 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 applciation 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 applicatino 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 
    •      While I already have created this, I would like to have it officiallly supported as part of the product and have my customer know that it is sanctioned and supported.  I also would like to see my external text files incorporated into the agents new Unified Database.
    •    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).
1 Comment
Micro Focus Expert
Micro Focus Expert
Status changed to: Waiting for Votes

Hi Greg,

Thank you for your idea and sharing the code. I will ask the team to take a look at it but in the meanwhile feel free to share your work with the OpsB practitioners.

Regards,

Moderator, OpsB IdeaX

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.