This script monitors 4 variables from your JBOSS Management Console Page (See Below) and graphs them on a single graph (See Below).
Note: that I subtract Free Memory from Total Memory to give us Used Memory.
I used the basics from the WeatherBug.pl script so thank you Alives!
This script requires the LWP::Simple and Crypt:SSLeay, if like me, your JBOSS Console page is running secure as http(S).
* Enter the IP Addr of your server running JBOSS, additionally, the perl script may need to be "tweaked" according to the location of your jboss server web dir. and file location.
VANC
NOTE: the deft use of MSPAINT
JBOSS Console Page Memory Check
Moderators: Developers, Moderators
JBOSS Console Page Memory Check
- Attachments
-
- JBOSS Memory Graph
- ls_jboss_check.PNG (230.86 KiB) Viewed 25340 times
-
- jboss_manage_cons2.PNG
- jboss_manage_cons2.PNG (182.89 KiB) Viewed 25340 times
-
- capture_ps_webconsole.pl.txt
- JBOSS Console Web Page Get Contents Script
- (1017 Bytes) Downloaded 1249 times
-
- cacti_graph_template_jboss_mem_check.xml
- Graph Template for JBOSS Memory Check
- (18.47 KiB) Downloaded 1382 times
-
- cacti_host_template_policy_server.xml
- Host Template for our "Policy Server", basic Linux machine, with JBOSS Mem Graphing.
- (220.6 KiB) Downloaded 1343 times
Good Work !
Thank you for sharing that.
How about if we musqt use a username/password to access a to the web console of jboss
https://server:8443/web-console/ ?
Thank you
Thank you for sharing that.
How about if we musqt use a username/password to access a to the web console of jboss
https://server:8443/web-console/ ?
Thank you
Ok i found it
in private network , you can add the user and password in the URL like that :
my $httpaddr = "https://user\:password\@".$ARGV[0].":8443/web-console/ServerInfo.jsp"
Hatim Bekkali
http://www.syloe.com
in private network , you can add the user and password in the URL like that :
my $httpaddr = "https://user\:password\@".$ARGV[0].":8443/web-console/ServerInfo.jsp"
Hatim Bekkali
http://www.syloe.com
Alternatively, if you use the JBoss all configuration in your environment (or perhaps copying server/all/deploy/snmp-adaptor.sar to server/default/deploy would work as well), you can use the SNMP Agent built into JBoss. This should be a little more efficient than screen scraping the jmx-console JSPs and it exposes additional JMX attributes (configurable).
Have a look at this post.
Have a look at this post.
Re: JBOSS Console Page Memory Check
How to configure the SNMP with JBOSS.
Pls send. What changes v had to made in JBOSS to c the Graphing.
Thanks in Advance.
Pls send. What changes v had to made in JBOSS to c the Graphing.
Thanks in Advance.
Re: JBOSS Console Page Memory Check
How Do I add JVM Memory pool monitoring with the JBOSS SNMP ? Please help ??
Who is online
Users browsing this forum: No registered users and 2 guests