Hi Chris, Yes, I'm aware that JMX may be the easiest method, however to use it means modifying the JAVA_OPTIONS as well as having a username and password as well as to meet our internal requirements, an ssl certificate for the jmx connection.
What I'm looking for, if possible, is the addition of a connector/valve, whatever method, in the server.xml. My thinking would be to have it only accessible via localhost and not on the general network. Again, something that can query and put the results out for Elastic to ingest and make use of. Note, still just brainstorming, so I don't have all connections fully made here. Thanks, Dream * Excel * Explore * Inspire Jon McAlexander Senior Infrastructure Engineer Asst. Vice President He/His Middleware Product Engineering Enterprise CIO | EAS | Middleware | Infrastructure Solutions 8080 Cobblestone Rd | Urbandale, IA 50322 MAC: F4469-010 Tel 515-988-2508 | Cell 515-988-2508 jonmcalexan...@wellsfargo.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. > -----Original Message----- > From: Christopher Schultz <ch...@christopherschultz.net> > Sent: Friday, July 7, 2023 8:39 AM > To: email@example.com > Subject: Re: OT: Question regarding the listeners in the upcoming releases. > > Jon, > > On 7/6/23 16:22, jonmcalexan...@wellsfargo.com.INVALID wrote: > > I have a question which is based around the idea of the new Listeners > > that are being introduced in the upcoming releases. This is based on > > something I’ve been thinking on for the last 6 to 9 mos. Would it be > > possible to have a Listener that could output stats for the Tomcat > > Instance, similar to what you would see in the Manager application? > > Not wanting any of the actual Manager functionality, just the status > > reporting features. Something that could be consumed by Elastic to go > > into a dashboard showing Instance/Application health? I really don’t > > want to deploy the Manager Application just to get this type of data. > > > > Thanks. I know this is a long shot question and this is where NOT > > being a developer blows. 😊 > > I would do this using JMX from a remote querying agent, at whatever interval > you want. No Listener required. > > -chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org