GlassFish 9.x server
GlassFish 9.x server
Log Track Supported: Yes
Config Track Supported: No
Custom Properties Supported: None
Supported Control Actions: stop,start
Supported Metrics:
| Name | Alias | Units | Category | Default On | Default Interval |
|---|---|---|---|---|---|
| Availability | Availability | percentage | AVAILABILITY | true | 5 min |
| Process Virtual Memory Size | ProcessVirtualMemorySize | B | UTILIZATION | false | 5 min |
| Process Resident Memory Size | ProcessResidentMemorySize | B | UTILIZATION | true | 5 min |
| Process Page Faults | ProcessPageFaults | none | UTILIZATION | false | 10 min |
| Process Page Faults per Minute | ProcessPageFaults1m | none | UTILIZATION | false | 10 min |
| Process Cpu System Time | ProcessCpuSystemTime | ms | UTILIZATION | false | 10 min |
| Process Cpu System Time per Minute | ProcessCpuSystemTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu User Time | ProcessCpuUserTime | ms | UTILIZATION | false | 10 min |
| Process Cpu User Time per Minute | ProcessCpuUserTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu Total Time | ProcessCpuTotalTime | ms | UTILIZATION | false | 10 min |
| Process Cpu Total Time per Minute | ProcessCpuTotalTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu Usage | ProcessCpuUsage | percentage | UTILIZATION | true | 5 min |
| Process Start Time | ProcessStartTime | epoch-millis | AVAILABILITY | false | 5 min |
| Process Open File Descriptors | ProcessOpenFileDescriptors | none | UTILIZATION | false | 5 min |
| Process Threads | ProcessThreads | none | UTILIZATION | false | 5 min |
| Loaded Class Count | LoadedClassCount | none | THROUGHPUT | false | 5 min |
| Total Loaded Class Count | TotalLoadedClassCount | none | THROUGHPUT | false | 5 min |
| Unloaded Class Count | UnloadedClassCount | none | THROUGHPUT | false | 5 min |
| Total Compilation Time | TotalCompilationTime | ms | THROUGHPUT | false | 10 min |
| Total Compilation Time per Minute | TotalCompilationTime1m | ms | THROUGHPUT | false | 10 min |
| Object Pending Finalization Count | ObjectPendingFinalizationCount | none | THROUGHPUT | false | 5 min |
| Thread Count | ThreadCount | none | UTILIZATION | true | 5 min |
| Daemon Thread Count | DaemonThreadCount | none | UTILIZATION | false | 5 min |
Configuration help:
Configure HQ for monitoring GlassFish
GlassFish has its own JMX agent to listen for connections. Therefore there is no need to configure jmxremote directly for the java process. Everything will work by default.
General Log and Config Track Properties
- Enable Log Tracking - Check to enable log tracking.
- Track event log level - Only track events of level greater than or equal to this level. Order is: [Error, Warn, Info, Debug]
Mapping:- FATAL,ERROR -> Error
- WARN -> Warn
- INFO -> Info
- DEBUG -> Debug
- Log Pattern Match - Include messages that match the given regular expression. The given pattern can be a substring to look for in log messages or a regular expression. See: java.util.regex.Pattern.
- Log Pattern Exclude - Exclude messages that match the given regular expression.
- Log Files - Comma delimited list of log files to track. Relative files are resolved to ${installpath}.