[Mc4j-cvs] mc4j/application/dashboards/jboss JBoss_MQ_QueueTable.xml,NONE,1.1 JBoss_MQ_TopicTable.xm
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-04-07 03:33:18
|
Update of /cvsroot/mc4j/mc4j/application/dashboards/jboss In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19835/application/dashboards/jboss Added Files: JBoss_MQ_QueueTable.xml JBoss_MQ_TopicTable.xml JBoss_ServerInfoMBean.xml JBoss_ServerInfo_Memory.xml JBoss_System_Server_Control.xml JBoss_WebTable.xml JBoss_Web_Jetty.xml Log Message: Updated for the new matching semantics and dashboard specs. Reorganized. --- NEW FILE: JBoss_MQ_QueueTable.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="MQ Queue Statistics"> <Description>This dashboard shows the statistics of a MQ Queues.</Description> <DashboardMatch type="Global" location="/JBoss/MQ"> <BeanMatch id="QueueBean" type="Multiple"> <Condition type="BeanObjectNameCondition" filter="service=Queue"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="text" value="DashboardName"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)2000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent"> <Attribute name="beanNode" value="QueueBean"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Attribute name="preferredSize" value="100,100"/> <Attribute name="AttributeName" value="(Literal)name"/> <Attribute name="AttributeName" value="(Literal)JNDIName"/> <Attribute name="AttributeName" value="(Literal)StateString"/> <Attribute name="AttributeName" value="(Literal)QueueName"/> <Attribute name="AttributeName" value="(Literal)ReceiversCount"/> </Component> </Content> </Dashboard> --- NEW FILE: JBoss_MQ_TopicTable.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="MQ Topic Statistics"> <Description>This dashboard shows the statistics of a MQ Topics.</Description> <DashboardMatch type="Global" location="/JBoss/MQ"> <BeanMatch id="QueueTopicBean" type="Multiple"> <Condition type="BeanObjectNameCondition" filter="service=Topic"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="text" value="DashboardName"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)2000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent"> <Attribute name="beanNode" value="QueueTopicBean"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Attribute name="preferredSize" value="100,100"/> <Attribute name="AttributeName" value="(Literal)Name"/> <Attribute name="AttributeName" value="(Literal)JNDIName"/> <Attribute name="AttributeName" value="(Literal)StateString"/> <Attribute name="AttributeName" value="(Literal)AllMessageCount"/> <Attribute name="AttributeName" value="(Literal)AllSubscriptionsCount"/> <Attribute name="AttributeName" value="(Literal)DurableMessageCount"/> <Attribute name="AttributeName" value="(Literal)DurableSubscriptionsCount"/> <Attribute name="AttributeName" value="(Literal)NonDurableMessageCount"/> <Attribute name="AttributeName" value="(Literal)NonDurableSubscriptionsCount"/> </Component> </Content> </Dashboard> --- NEW FILE: JBoss_ServerInfo_Memory.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <!-- Document : BasicMBean.xml Created on : October 6, 2002, 10:01 PM Author : ghinkl Description: Displays the basic information of an MBean --> <Dashboard version="1.0" name="JBoss Memory Meter"> <Description>This dashboard displays basic information relating to the overall execution of a JBoss server.</Description> <DashboardMatch type="Global" location="/JBoss"> <BeanMatch id="JBossServerInfoBean" type="Single"> <Condition type="BeanObjectNameCondition" filter="jboss.system:type=ServerInfo"/> </BeanMatch> </DashboardMatch> <Context name="Match" type="java.lang.String" value="jboss.system:type=ServerInfo"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <!--LayoutManager type="java.awt.GridBagLayout"/--> <LayoutManager type="java.awt.GridLayout" rows="2" cols="1"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTHWEST" fill="HORIZONTAL" gridx="1" gridy="1"/--> <Attribute name="text" value="(Literal)JBoss Memory Status"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="javax.swing.JTextArea"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2"/--> <Attribute name="text" value="(Literal)This Dashboard displays important information about the status of your JBoss Server."/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <!-- *** Contents *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="CENTER"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGaugeMeter"> <Attribute name="beanNode" value="JBossServerInfoBean"/> <Attribute name="maxAttributeName" value="(Literal)MaxMemory"/> <Attribute name="currentAttributeName" value="(Literal)FreeMemory"/> <!--<Attribute name="minimumSize" value="(Literal)50,50"/>--> <Attribute name="label" value="(Literal)Free Memory"/> <Attribute name="updateInterval" value="(Literal)1000"/> <Attribute name="warningPoint" value="(Literal)0.2"/> <Attribute name="criticalPoint" value="(Literal)0.05"/> <Attribute name="title" value="(Literal)Available Memory"/> <Attribute name="units" value="(Literal)bytes"/> </Component> </Content> </Component> </Content> </Dashboard> --- NEW FILE: JBoss_Web_Jetty.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="JBoss Jetty Statistics"> <Description>This dashboard shows the statistics of a Jetty servlet context.</Description> <DashboardMatch type="Global" location="/JBoss/Web" > <BeanMatch id="Jetty" type="Single"> <Condition type="BeanObjectNameCondition" filter="^jboss.web:Jetty=0$"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="text" value="DashboardName"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)2000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <!-- *** Scroll pane of info *** --> <Component type="javax.swing.JScrollPane"> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Content> <Component type="javax.swing.JPanel"> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="preferredSize" value="100,100"/> <LayoutManager type="java.awt.BoxLayout" axis="Y_AXIS"/> <Content> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)Connection Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridLayout" rows="1" cols="2"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)connections"/> <Attribute name="attributeName" value="(Literal)connectionsOpen"/> <Attribute name="attributeName" value="(Literal)connectionsOpenMax"/> <Attribute name="attributeName" value="(Literal)connectionsRequestsAve"/> <Attribute name="attributeName" value="(Literal)connectionsRequestsMax"/> </Component> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)connectionsDurationAve"/> <Attribute name="attributeName" value="(Literal)connectionsDurationMax"/> </Component> </Content> </Component> <Component type="org.mc4j.console.swing.SectionHolder"> <Attribute name="title" value="(Literal)Requests Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <LayoutManager type="java.awt.GridLayout" rows="1" cols="2"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)requests"/> <Attribute name="attributeName" value="(Literal)requestsActive"/> <Attribute name="attributeName" value="(Literal)requestsActiveMax"/> </Component> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="Jetty"/> <Attribute name="preferredSize" value="(Literal)400,150"/> <Attribute name="attributeName" value="(Literal)requestsDurationAve"/> <Attribute name="attributeName" value="(Literal)requestsDurationMax"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.FillerComponent"> <Attribute name="type" value="(Literal)VERTICAL_GLUE_SHAPE"/> </Component> </Content> </Component> </Content> </Component> </Content> </Dashboard> --- NEW FILE: JBoss_ServerInfoMBean.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <!-- Created on : October 6, 2002, 10:01 PM Author : ghinkl --> <Dashboard version="1.0" name="JBoss Server Info"> <Description>This dashboard displays basic information relating to the overall execution of a JBoss server.</Description> <DashboardMatch type="Global" location="/JBoss"> <BeanMatch id="JBossServerInfoBean" type="Single"> <Condition type="BeanObjectNameCondition" filter="jboss.system:type=ServerInfo"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <!--LayoutManager type="java.awt.GridBagLayout"/--> <LayoutManager type="java.awt.GridLayout" rows="2" cols="1"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTHWEST" fill="HORIZONTAL" gridx="1" gridy="1"/--> <Attribute name="text" value="(Literal)JBoss Management Dashboard"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="javax.swing.JTextArea"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2"/--> <Attribute name="text" value="(Literal)This Dashboard displays important information about the status of your JBoss Server."/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="javax.swing.JSplitPane"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="orientation" value="(Literal)HORIZONTAL_SPLIT"/> <Attribute name="preferredSize" value="(Literal)400,300"/> <Attribute name="minimumSize" value="(Literal)400,300"/> <Attribute name="leftComponent"> <Component type="javax.swing.JScrollPane"> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="1" weightx="1" weighty="1" fill="BOTH"/> <Content> <Component type="org.mc4j.console.dashboard.components.AttributeListComponent"> <Attribute name="beanNode" value="JBossServerInfoBean"/> <!--Attribute name="MBeanNode" value="MBeanNode"/--> <!--Attribute name="AttributeName" value="(Literal)BuildDate"/--> <Attribute name="Label" value="(Literal)Server Information"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Border type="javax.swing.border.TitledBorder"> <Attribute name="title" value="(Literal)MBean Attributes"/> </Border> </Component> </Content> </Component> </Attribute> <Attribute name="rightComponent"> <Component type="javax.swing.JPanel"> <LayoutManager type="java.awt.GridBagLayout"/> <Content> <Component type="javax.swing.JPanel"> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="1" weightx="0.5" weighty="0.5" fill="BOTH"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeMeter"> <Attribute name="beanNode" value="JBossServerInfoBean"/> <Attribute name="preferredSize" value="(Literal)150,150"/> <Attribute name="maxAttributeName" value="(Literal)MaxMemory"/> <Attribute name="currentAttributeName" value="(Literal)FreeMemory"/> <Attribute name="minimumSize" value="(Literal)50,50"/> <Attribute name="label" value="(Literal)Free Memory"/> <Attribute name="updateInterval" value="(Literal)1000"/> </Component> </Content> </Component> <Component type="javax.swing.JPanel"> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="2" gridy="1" weightx="0.5" weighty="0.5" fill="BOTH"/> <Content> <Component type="org.mc4j.console.dashboard.components.NumericAttributeMeter"> <Attribute name="beanNode" value="JBossServerInfoBean"/> <Attribute name="preferredSize" value="(Literal)150,150"/> <Attribute name="maxAttributeValue" value="(Literal)500"/> <Attribute name="currentAttributeName" value="(Literal)ActiveThreadCount"/> <Attribute name="minimumSize" value="(Literal)50,50"/> <Attribute name="label" value="(Literal)Active Threads"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="JBossServerInfoBean"/> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2" widthx="2" weightx="0.5" weighty="0.5" fill="BOTH" insets="3,3,3,3"/> <Attribute name="preferredSize" value="(Literal)100,100"/> <Attribute name="attributeName" value="(Literal)FreeMemory"/> </Component> <Component type="org.mc4j.console.dashboard.components.NumericAttributeGraph"> <Attribute name="beanNode" value="JBossServerInfoBean"/> <Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="2" gridy="2" widthx="2" weightx="0.5" weighty="0.5" fill="BOTH" insets="3,3,3,3"/> <Attribute name="attributeName" value="(Literal)ActiveThreadCount"/> </Component> </Content> </Component> </Attribute> </Component> <!-- List of methods to execute --> <Component type="org.mc4j.console.dashboard.components.OperationListComponent"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="format" value="(Literal)BUTTON_ONLY_FORMAT"/> <Border type="javax.swing.border.TitledBorder"> <Attribute name="title" value="(Literal)Server Actions"/> </Border> </Component> </Content> </Dashboard> --- NEW FILE: JBoss_System_Server_Control.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <!-- Author Greg Hinkle (gh...@us...), May 2003 $Revision: 1.1 $($Author: ghinkl $ / $Date: 2004/04/07 03:20:24 $) --> <Dashboard version="1.0" name="JBoss Server Control"> <Description>This dashboard has server control operations for JBoss.</Description> <DashboardMatch type="Global" location="/JBoss"> <BeanMatch id="JBossServerNode" type="Single"> <Condition type="BeanObjectNameCondition" filter="^jboss.system:type=Server$"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <!--LayoutManager type="java.awt.GridBagLayout"/--> <LayoutManager type="java.awt.GridLayout" rows="2" cols="1"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTHWEST" fill="HORIZONTAL" gridx="1" gridy="1"/--> <Attribute name="text" value="(Literal)JBoss Server Control"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="javax.swing.JTextArea"> <!--Constraint type="java.awt.GridBagConstraints" anchor="NORTH" gridx="1" gridy="2"/--> <Attribute name="text" value="(Literal)This Dashboard has control operations for the JBoss Server."/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="javax.swing.JScrollPane"> <Constraint type="BorderConstraints" direction="CENTER"/> <Content> <Component type="javax.swing.JPanel"> <Content> <Component type="org.mc4j.console.dashboard.components.OperationListComponent"> <Attribute name="beanNode" value="JBossServerNode"/> <Attribute name="operationName" value="(Literal)runGarbageCollector"/> <Attribute name="operationName" value="(Literal)exit"/> <Attribute name="operationName" value="(Literal)halt"/> <Attribute name="operationName" value="(Literal)shutdown"/> </Component> </Content> </Component> </Content> </Component> </Content> </Dashboard> --- NEW FILE: JBoss_WebTable.xml --- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Dashboard SYSTEM "Dashboard.dtd"> <Dashboard version="1.0" name="Web Component Statistics"> <Description>This dashboard shows the statistics of a WebLogic Execute Queue.</Description> <DashboardMatch type="Global" location="/JBoss/Web" > <BeanMatch id="VHostList" type="Multiple"> <Condition type="BeanObjectNameCondition" filter="vhost=localhost"/> </BeanMatch> </DashboardMatch> <LayoutManager type="java.awt.BorderLayout"/> <Content> <!-- *** Header *** --> <Component type="javax.swing.JPanel"> <Constraint type="BorderConstraints" direction="NORTH"/> <LayoutManager type="java.awt.BorderLayout"/> <Content> <Component type="javax.swing.JLabel" id="titleLable"> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="text" value="DashboardName"/> <Attribute name="font" value="(Literal)Dialog bold 24"/> <Attribute name="foreground" value="(Literal)0xFF2222"/> </Component> <Component type="org.mc4j.console.dashboard.components.RefreshControlComponent"> <Constraint type="BorderConstraints" direction="EAST"/> <Attribute name="refreshDelay" value="(Literal)2000"/> </Component> <Component type="javax.swing.JTextArea"> <Constraint type="BorderConstraints" direction="SOUTH"/> <Attribute name="text" value="DashboardDescription"/> <Attribute name="font" value="(Literal)Dialog bold 16"/> <Attribute name="opaque" value="(Literal)false"/> <Attribute name="editable" value="(Literal)false"/> </Component> </Content> </Component> <Component type="org.mc4j.console.dashboard.components.AttributeTableComponent"> <Attribute name="beanList" value="VHostList"/> <Constraint type="BorderConstraints" direction="CENTER"/> <Attribute name="background" value="(Literal)0xFFFFFF"/> <Attribute name="preferredSize" value="100,100"/> <Attribute name="AttributeName" value="(Literal)vhost"/> <Attribute name="AttributeName" value="(Literal)context"/> <Attribute name="AttributeName" value="(Literal)Name"/> <Attribute name="AttributeName" value="(Literal)RequestCount"/> <Attribute name="AttributeName" value="(Literal)MinTime"/> <Attribute name="AttributeName" value="(Literal)MaxTime"/> <Attribute name="AttributeName" value="(Literal)ProcessingTime"/> <Attribute name="AttributeName" value="(Literal)ErrorCount"/> </Component> </Content> </Dashboard> |