Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 19, 2019 5:42 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: JBOSS Console Page Memory Check
PostPosted: Mon Apr 03, 2006 10:13 am 
Offline

Joined: Thu Mar 02, 2006 2:54 pm
Posts: 30
Location: Boston MA USA
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 :)


Attachments:
File comment: Host Template for our "Policy Server", basic Linux machine, with JBOSS Mem Graphing.
cacti_host_template_policy_server.xml [220.6 KiB]
Downloaded 1288 times
File comment: Graph Template for JBOSS Memory Check
cacti_graph_template_jboss_mem_check.xml [18.47 KiB]
Downloaded 1310 times
File comment: JBOSS Console Web Page Get Contents Script
capture_ps_webconsole.pl.txt [1017 Bytes]
Downloaded 1184 times
File comment: jboss_manage_cons2.PNG
jboss_manage_cons2.PNG
jboss_manage_cons2.PNG [ 182.89 KiB | Viewed 23700 times ]
File comment: JBOSS Memory Graph
ls_jboss_check.PNG
ls_jboss_check.PNG [ 230.86 KiB | Viewed 23700 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 5:25 am 
Offline

Joined: Fri Sep 15, 2006 5:22 am
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 5:11 pm 
Offline

Joined: Fri Sep 15, 2006 5:22 am
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 6:29 pm 
Offline

Joined: Tue Sep 26, 2006 5:47 pm
Posts: 5
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.


Top
 Profile  
 
 Post subject: Re: JBOSS Console Page Memory Check
PostPosted: Mon Aug 08, 2011 2:04 am 
Offline

Joined: Mon Aug 08, 2011 1:40 am
Posts: 2
How to configure the SNMP with JBOSS.

Pls send. What changes v had to made in JBOSS to c the Graphing.

Thanks in Advance.


Top
 Profile  
 
 Post subject: Re: JBOSS Console Page Memory Check
PostPosted: Mon Mar 18, 2013 3:41 pm 
Offline

Joined: Mon Mar 18, 2013 3:34 pm
Posts: 2
How Do I add JVM Memory pool monitoring with the JBOSS SNMP ? Please help ??


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group