You can monitor and manage instances through scripts using the OpenEdge JMX (OEJMX) command line utility to connect to a local PAS for OpenEdge instance. Based on JMX (Java Management Extensions) OEJMX connects to an instance using Java objects called Managed Beans or MBeans. One or more MBeans instrument a resource using attributes and operations. Direct access to the underlying MBeans provides you with the freedom to write scripts to monitor and manage applications in ways that may not be available using OpenEdge Management or JConsole.

For more information about OEJMX, see Use OEJMX to manage and monitor an instance.

  1. Use a proenv command prompt to change to the instance directory. For example:
    
         
          cd 
          
           instance
          
         
        
  2. Request the overall health score. Enter:
    
         
          bin\oehealth
          
        
  3. To display the detailed JSON for the server health. Enter the following:
    
         
          bin\oehealth -D 
         
        
    Note: These commands can be included in scripts to monitor your server.