Mid Server Monitoring

cardanid
Tera Contributor

Hello community, has anyone attempted to monitor the Mid Server with a APM tool like Dynatrace or Datadog?

1 ACCEPTED SOLUTION

It should look something like below in the wrapper-override.conf file:

wrapper.java.additional.<n>=-javaagent:/path/to/dd-java-agent.jar

Here, <n> is a unique number that doesn't clash with other wrapper.java.additional settings.

You'd need to make sure the path to dd-java-agent.jar is correct and accessible by the MID Server process.

Also, restart the server when the change in completed in wrapper-override.conf.

View solution in original post

11 REPLIES 11

Hello,

 

You may want to try something like below in the in the wrapper-override.conf file,

 

wrapper.java.additional.<n>=-javaagent:/path/to/dd-java-agent.jar

 

Make sure the path to dd-java-agent.jar is correct and accessible by the MID Server process.

 

You will need to restart your MID Server after this change. 

 

It should look something like below in the wrapper-override.conf file:

wrapper.java.additional.<n>=-javaagent:/path/to/dd-java-agent.jar

Here, <n> is a unique number that doesn't clash with other wrapper.java.additional settings.

You'd need to make sure the path to dd-java-agent.jar is correct and accessible by the MID Server process.

Also, restart the server when the change in completed in wrapper-override.conf.

Hi, To monitor java application if you are using commands you can achieve it via ECC Queue. Pls refer below 2 links how to execute the command in ECC queue and check the results.

 

If Java application health is not okay then you should verify the Payload and automate it via incident ticket creation. Use scheduled Job to achieve E2E automation. Define 5 5-minute intervals run the command in the ECC queue table and execute it. Using the code read line by line in the payload and identify the error as well.  Error identified create incident assign it to right queue.

https://john-james-andersen.com/blog/service-now/command-line-execution-with-servicenow-mid-servers....

 

https://www.servicenow.com/community/csm-forum/how-to-send-command-to-ecc-queue/m-p/408547

 

Regards,
Suresh.

Thank you for the information. we use splunk today to look over the heath of the JVM based on the mid logs. 

 

the idea of using a APM tool like Datadog is to provide a deeper view and beable to alert when the JVM is not healthy or running outside of ML

ersureshbe
Giga Sage
Giga Sage

Hi, Mid-server Monitoring - If you are looking at the state (Running, Stopped) then you can configure simple notification and monitor the mid-server running state. If not state monitoring and having other use cases what is that? Pls explain. To monitor based on your use cases should think APM tool required or not?

Regards,
Suresh.