Diagnosing Gateway Issues

The Diagnostics section of the Status tab holds pages that help to diagnose issues with the Gateway. The gateway logs can be seen here as well as information on any blocked threads within the Gateway if something has gotten stuck. The logging system also ties into the logs in any previous status pages.

Execution

The Execution page reports the status of all tasks that your gateway runs on a schedule. Here you can find helpful information such as the duration and execution time of an alarm journal update or the average time it takes your gateway to execute a scanclass.

images/download/attachments/6048597/image2016-10-3_10_55_21.png

Logs

One of the most important troubleshooting tools of the Gateway Webpage is the Logs page. This console shows errors caused by Gateway events including things like Database or Device connections, Authentication profiles, Alarm Journals and Pipelines, and anything else that is Gateway scoped. You can find logs in the Status section of the Gateway Webpage under Diagnostics > Logs.

The Gateway Logs also provides a wealth of information about the running state of the Gateway. To learn more, refer to the section on Troubleshooting the Gateway.

The Logs page is where the Gateway Console is located that allows you to see a live flow of log events in the system. The logs can be filtered by using a search term or by date. The Settings button on the right brings up a popup window that can change the logging level of certain loggers. The logs can also be exported using the Download Logs button on the right as well.

images/download/attachments/6048597/image2016-10-3_11_30_22.png

Many of the other pages in the Status tab also contain a logger that will just show logs that are relevant for that particular section. These log views all contain a button on the right side called Merge to Logs. This button allows the current filter to be applied to the main logs page, allowing you to still see only the logs for that section but use all of the tools available.

images/download/attachments/6048597/image2016-10-3_11_22_15.png

Threads

The Threads page allows you to see what each thread is doing in the gateway. Their state and CPU usages is displayed to easily find problem threads, as well as a chart of what systems are using the threads and the ability to filter the threads based on a keyword. Each thread can be expanded to give details on what it is currently doing, and that individual thread process can be copied to the clipboard. A thread dump can be downloaded by clicking the download button on the right of the page.

images/download/attachments/6048597/image2016-10-3_11_47_44.png

Similar Topics ...