Random Project

AWK Needs work for Tomcat7

The AWK for perf info doesn’t seem to work just right for Tomcat7.

First line returns:
myapp_JVM_OK:|myapp_JVM_MB;;;0 myapp_JVM_MB;;;0 myapp_JVM_MB;;;0

Perf stats also assume that this app is the only one on the app server. I’m commenting out this perf data and will probably pull in as a separate service check. All will add my own AWK to pull the session count for the app requested as well as returning the last value of the line (which is myapp##

Thanks for this though! Got me going in the right direction.