our dev created one jsp to show tomcat Heap Memory info and DB connection pool info.
Can we we monitor this in solarwinds.
So you can write a custom script to pull the data off the page, basically parsing the text to gather the data and out put. I wouldn't. If you do, maybe ask your dev to make a version that outputs to XML, I'd bet it wouldn't take long and it would make the monitor much easier. These aren't actually tomcat stats though.
That said, I think you should look a the template for Java Application Server in the SAM Template guide instead.
https://support.solarwinds.com/@api/deki/files/28946/SAM_6.3_Template_Guide.pdf
Go find Java Application Server (SNMP), right now its on page 520 of the PDF. Get your dev to assist with this config, and you will have great info on the app and the heap memory the app uses.
I'd also monitor the database itself (you didn't mention which one or I'd try to assist), and Tomcat (you aren't pulling any Tomcat specific data above but I like to have that data ready before ) through the native monitors.
And if those options don't sound great, consider running the SQL, MySQL, etc. and use whatever query your dev already wrote to directly pull the information into Solarwinds using the SQL Server User Experience Monitor or even just in a script (vbscript, python, powershell) that sends the output to the template.
Thanks for quick reply.
I dont have much idea for Java. I have more than 250 tomcat installed on application server. How can I use this for each tomcat as there is no option to mention tomcat port number in template.
That is beyond anything I have had to do. My gut tells me that it can be done. I dropped links to some of the other templates that might help. Some likely aren't specifically for your setup but do allow ports to be configured. Its possible they will show you what to do. Hopefully somebody with more JMX experience jumps in.
vijay.raje@eclinicalworks.com, I recommend copying the page source to a file from your web browser then posting this as an attachment to the Script Guru forum. This should be a rather trivial perl or PowerShell script for an experienced scripter. By 'trivial' I mean not difficult, but definitely time consuming.
Feel free to reach out to me to discuss and maybe we can work on resolving this together. I use eclinicalworks and several of the solarwinds tools to monitor our environment including SAM.