Home

Sun GlassFish Enterprise Manager SNMP Monitoring 10 Installation

image

Contents

1. HIGH to get all j2eeEjbEntityStatTable j2eeEjbStatelessStatTable j2eeEjbStatefulStatTable and j2eeEj bMessageDrivenStatTable data Set transaction service monitoring to HIGH to get all j2eeJtaStatTable data Set connector connection pool monitoring to HIGH to get all j2eeJcaConPoolStatTable data Set JDBC connection pool monitoring to HIGH to get all j2eeJDBCConPoolStatTable data All j2eeJVMStatTable data is always displayed regardless of the JVM monitoring setting Use the following asadmin set commands to set monitoring levels Substitute the name of the configuration for server config For example server config server config server config server config server config server config monitoring service monitoring service monitoring service monitoring service monitoring service monitoring service module monitoring levels module monitoring levels module monitoring levels module monitoring levels module monitoring levels module monitoring levels web container HIGH ejb container HIGH transaction service HIGH connector connection pool HIGH jdbc connection pool HIGH jvm HIGH For more information about the asadmin set command see the Sun GlassFish Enterprise Server 2 1 Reference Manual Getting Started with GlassFish SNMP Monitoring Configuring GlassFish SNMP Monitoring To use the Admin Console follow these steps 1 Gotothe Monitoring page for your configuration 2 Change the v
2. SNMP Tables Not Mapped in Sun GlassFish Enterprise Server m j2eeStatistics Tables m j2eeJavaMailStatTable m j2eeJcaConnStatTable m j2eeJDBCConnStatTable m j2eeJmsConnSessionStatTable m j2eeJmsConnConsumerStatTable m j2eeJmsConnProducerStatTable Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Installation and Quick Start Guide January 2009
3. and other countries Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems Inc The OPEN LOOK and Sun Graphical User Interface was developed by Sun Microsystems Inc for its users and licensees Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry Sun holds a non exclusive license from Xerox to the Xerox Graphical User Interface which license also covers Sun s licensees who implement OPEN LOOK GUIs and otherwise comply with Sun s written license agreements Products covered by and information contained in this publication are controlled by U S Export Control laws and may be subject to the export or import laws in other countries Nuclear missile chemical or biological weapons or nuclear maritime end uses or end users whether direct or indirect are strictly prohibited Export or reexport to countries subject to U S embargo or to entities identified on U S export exclusion lists including but not limited to the denied persons and specially designated nationals lists is strictly prohibited DOCUMENTATION IS PROVIDED AS IS AND ALL EXPRESS OR IMPLIED CONDITIONS REPRESENTATIONS AND WARRANTIES INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE OR NON INFRINGEMENT ARE DISCLAIMED EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID Copyri
4. system tools admin snmp WARNING 8 Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Installation and Quick Start Guide January 2009 GlassFish SNMP Tables asadmin set server log service module log levels property javax enterprise system tools admin snmp adapter INFO asadmin set server log service module log levels property javax enterprise system tools admin snmp genericmediation FINE Note On a Windows system use a single backslash as an escape character not a double backslash For more information about the asadmin set command see the Sun GlassFish Enterprise Server 2 1 Reference Manual GlassFish SNMP Tables The tables accessible through SNMP monitoring are summarized in this section For detailed information see the Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Reference SNMP Tables Mapped in Sun GlassFish Enterprise Server m j2eeObject Tables j2eeDomTable m j2eeSrvTable j2eeJVMTable m j2eeAppTable j2eeModTable m j2eeBeanTable m j2eeSletTable j2eeAdapTable m j2eeRsrcTable m j2eeJCATable j2eeJDBCTable Getting Started with GlassFish SNMP Monitoring 9 GlassFish SNMP Tables 10 m j2eeStatistics Tables m j2eeServletStatTable m j2eeEjbEntityStatTable m j2eeEjbStatelessStatTable m j2eeEjbStatefulStatTable m j2eeMessageDrivenStatTable m j2eeJtaStatTable m j2eeJcaConnPoolStatTable m j2eeJDBCConnPoolStatTable m j2eeJVMStatTable
5. R false 2 INTEGER false 2 INTEGER false 2 INTEGER running 4 INTEGER stopped 3 INTEGER running 4 INTEGER running 4 1 STRING Fri Dec 19 14 25 20 MET 2008 2 STRING NOT APPLICABLE 3 STRING Fri Dec 19 13 47 44 MET 2008 4 STRING Fri Dec 19 14 25 21 MET 2008 6 Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Installation and Quick Start Guide January 2009 Configuring GlassFish SNMP Monitoring The GlassFish SNMP data varies according to the applications and resources deployed Monitoring levels also affect the GlassFish SNMP data see Changing Monitoring Levels on page 7 For a summary ofthe SNMP tables supported in the Enterprise Server see GlassFish SNMP Tables on page 9 For a complete listing of the GlassFish SNMP data you can access see the Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Reference Configuring GlassFish SNMP Monitoring asadmin asadmin asadmin asadmin asadmin asadmin set set set set set set You can change the configuration of SNMP monitoring in the following ways Changing Monitoring Levels on page 7 Changing the SNMP Port Number on page 8 Changing the SNMP Logging Level on page 8 Changing Monitoring Levels Set Enterprise Server monitoring levels to get accessible GlassFish SNMP data as follows Set web container monitoring to HIGH to get all j2eeServletStatTable data Set EJB container monitoring to
6. Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Installation and Quick Start Guide Y S microsystems Sun Microsystems Inc 4150 Network Circle Santa Clara CA 95054 U S A Part No 820 7189 Copyright 2009 Sun Microsystems Inc 4150 Network Circle Santa Clara CA 95054 U S A All rights reserved Sun Microsystems Inc has intellectual property rights relating to technology embodied in the product that is described in this document In particular and without limitation these intellectual property rights may include one or more U S patents or pending patent applications in the U S and in other countries U S Government Rights Commercial software Government users are subject to the Sun Microsystems Inc standard license agreement and applicable provisions of the FAR and its supplements This distribution may include materials developed by third parties Parts of the product may be derived from Berkeley BSD systems licensed from the University of California UNIX is a registered trademark in the U S and other countries exclusively licensed through X Open Company Ltd Sun Sun Microsystems the Sun logo the Solaris logo the Java Coffee Cup logo docs sun com Java and Solaris are trademarks or registered trademarks of Sun Microsystems Inc or its subsidiaries in the U S and other countries All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International Inc in the U S
7. To install SNMP monitoring deploy the __assnmp war file as you would any other web application You can use the asadmin deploy command For example asadmin deploy assnmp war For more information about the asadmin deploy command see the Sun GlassFish Enterprise Server 2 1 Reference Manual To use the Admin Console follow these steps 1 Open the Applications component 2 Goto the Web Applications page 3 Click on the Deploy button 4 Next to Location make sure that Packaged file to be uploaded to the server is selected 4 Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Installation and Quick Start Guide January 2009 Accessing GlassFish SNMP Data Using snmpwalk 5 Enter the location ofthe _assnmp war file in the Location field or use the Browse button to locateit 6 Ifyou have installed the cluster or enterprise profile and are deploying to a cluster or multiple server instances go to Targets at the bottom of the page and select targets 7 Select the OK button For more information about using SNMP monitoring with clusters see the Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Reference Accessing GlassFish SNMP Data Using snmpwalk SNMPv2 SMI SNMPv2 SMI SNMPv2 SMI SNMPv2 SMI SNMPv2 SMI SNMPv2 SMI SNMPv2 SMI SNMPv2 SMI SNMPv2 SMI The snmpwalk command is one of the standard ways of accessing SNMP data Any basic SNMP reference on the Internet or in print includes information
8. about using snmpwalk On the Solaris operating system the snmpwalk command is available in the usr sfw bin directory For other platforms consult the documentation for your operating system To make sure that SNMP monitoring is properly installed use the following snmpwalk command If you are using a remote machine substitute the machine name for localhost Note that the default port is 10161 To change the port see Changing the SNMP Port Number on page 8 snmpwalk c public v 1 localhost 10161 1 3 6 1 4 1 42 2 9999 1 1 1 1 1 2 The output of this command looks like this renterprises 42 2 9999 1 1 1 1 1 2 1 2 1 1 STRING name server renterprises 42 2 9999 1 1 1 1 1 2 1 3 1 1 OID SNMPv2 SMI enterprises 42 renterprises 42 2 9999 1 1 1 1 1 2 1 5 1 1 STRING Sun Microsystems Inc enterprises 42 2 9999 1 1 1 1 1 2 1 6 1 1 STRING Sun GlassFish Enterprise Server v2 1 renterprises 42 2 9999 1 1 1 1 1 2 1 7 1 1 INTEGER 1 renterprises 42 2 9999 1 1 1 1 1 2 1 8 1 1 INTEGER 1 renterprises 42 2 9999 1 1 1 1 1 2 1 9 1 1 INTEGER 2 renterprises 42 2 9999 1 1 1 1 1 2 1 10 1 1 INTEGER 4 renterprises 42 2 9999 1 1 1 1 1 2 1 11 1 1 STRING Fri Dec 19 09 37 27 PST 2008 To generate more human readable output use the J2EE MIB file available at http java sun com j2ee tools management downloads index html Make sure this file is located in the directory from which you are running snmpwalk You can then use the follow
9. alue to HIGH in the drop down list for any or all of the following settings JVM Transaction Service JMS Connector Service Web Container EJB Container JDBC Connection Pool 3 Select the Save button Changing the SNMP Port Number The default SNMP port is 10161 To change this port use the asadmin set command Substitute the name of the server instance for server For example asadmin set server property snmp adapter port 10165 You must restart the server for the port change to take effect You can use the following asadmin commands Once again substitute the name of the server instance for server asadmin stop instance server asadmin start instance server For more information about the asadmin set asadmin stop instance and asadmin start instance commands see the Sun GlassFish Enterprise Server 2 1 Reference Manual Changing the SNMP Logging Level SNMP monitoring logs its messages to the Enterprise Server log file server Log This component uses three loggers m javax enterprise system tools admin snmp m javax enterprise system tools admin snmp adapter m javax enterprise system tools admin snmp genericmediation Use the following asadmin set commands to set log levels for these loggers Substitute the name of the server instance for server For example on a Solaris or Linux installation you would specify commands like the following asadmin set server log service module log levels property javax enterprise
10. e 1 3 j2eeSrvMoName 1 4 j2eeSrvEnterprise 1 j2eeSrvEnterprise 1 j2eeSrvEnterprise 1 j2eeSrvEnterprise 1 j2eeSrvVendor 1 1 j2eeSrvVendor 1 2 j2eeSrvVendor 1 3 j2eeSrvVendor 1 4 j2eeSrvVersion 1 1 j2eeSrvVersion 1 2 j2eeSrvVersion 1 3 j2eeSrvVersion 1 4 j2eeSrvMoStateManaged 1 1 INTEGER true 1 j2eeSrvMoStateManaged 1 j2eeSrvMoStateManaged 1 3 INTEGER true 1 j2eeSrvMoStateManaged 1 j2eeSrvMoStatProv 1 1 j2eeSrvMoStatProv 1 2 j2eeSrvMoStatProv 1 3 j2eeSrvMoStatProv 1 4 j2eeSrvMoEventProv j2eeSrvMoEventProv j2eeSrvMoEventProv j2eeSrvMoEventProv j2eeSrvSMState 1 1 j2eeSrvSMState 1 2 j2eeSrvSMState 1 3 j2eeSrvSMState 1 4 j2eeSrvSMStartTime j2eeSrvSMStartTime j2eeSrvSMStartTime j2eeSrvSMStartTime ereere BWNPR STRING cluster cll name cll_ins1 STRING name sa_ins3 STRING name server STRING cluster cll name cll_ins2 1 OID J2EE MIB sun 2 OID J2EE MIB sun 3 OID J2EE MIB sun 4 OID J2EE MIB sun STRING Sun Microsystems Inc STRING Sun Microsystems Inc STRING Sun Microsystems Inc STRING Sun Microsystems Inc STRING Sun GlassFish Enterprise Server v2 1 STRING Sun GlassFish Enterprise Server v2 1 STRING Sun GlassFish Enterprise Server v2 1 STRING Sun GlassFish Enterprise Server v2 1 2 INTEGER true 1 4 INTEGER true 1 INTEGER true 1 INTEGER true 1 INTEGER true 1 INTEGER true 1 INTEGER false 2 INTEGE
11. ght 2009 Sun Microsystems Inc 4150 Network Circle Santa Clara CA 95054 U S A Tous droits r serv s Sun Microsystems Inc d tient les droits de propri t intellectuelle relatifs la technologie incorpor e dans le produit qui est d crit dans ce document En particulier et ce sans limitation ces droits de propri t intellectuelle peuvent inclure un ou plusieurs brevets am ricains ou des applications de brevet en attente aux Etats Unis et dans d autres pays Cette distribution peut comprendre des composants d velopp s par des tierces personnes Certaines composants de ce produit peuvent tre d riv es du logiciel Berkeley BSD licenci s par l Universit de Californie UNIX est une marque d pos e aux Etats Unis et dans d autres pays elle est licenci e exclusivement par X Open Company Ltd Sun Sun Microsystems le logo Sun le logo Solaris le logo Java Coffee Cup docs sun com Java et Solaris sont des marques de fabrique ou des marques d pos es de Sun Microsystems Inc ou ses filiales aux Etats Unis et dans d autres pays Toutes les marques SPARC sont utilis es sous licence et sont des marques de fabrique ou des marques d pos es de SPARC International Inc aux Etats Unis et dans d autres pays Les produits portant les marques SPARC sont bas s sur une architecture d velopp e par Sun Microsystems Inc L interface d utilisation graphique OPEN LOOK et Sun a t d velopp e par Sun Microsystems Inc pour ses utilisa
12. ing snmpwalk command to view GlassFish SNMP data snmpwalk c public v 1 m J2EE MIB localhost 10161 J2EE MIB j2eeSrvTable If you have just installed the Enterprise Server and have only one server instance the output of this command looks like this Getting Started with GlassFish SNMP Monitoring 5 Accessing GlassFish SNMP Data Using snmpwalk J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB j2eeSrvMoName 1 1 j2eeSrvEnterprise j2eeSrvVendor 1 1 j2eeSrvVersion 1 1 STRING Sun GlassFish Enterprise Server v2 1 j2eeSrvMoStateManaged 1 1 INTEGER true 1 j2eeSrvMoStatProv 1 1 INTEGER true 1 j2eeSrvMoEventProv 1 1 INTEGER false 2 j2eeSrvSMState 1 1 INTEGER running 4 j2eeSrvSMStartTime 1 1 STRING Fri Dec 19 09 40 21 PST 2008 Pil STRING name server 1 OID J2EE MIB sun STRING Sun Microsystems Inc If you have a more complex setup that includes clusters the output of this command looks more like this J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB J2EE MIB j2eeSrvMoName 1 1 j2eeSrvMoName 1 2 j2eeSrvMoNam
13. ng 1 0 Release Notes See also the documentation set for Sun GlassFish Enterprise Server http docs sun com coll 1343 6 Downloading SNMP Monitoring SNMP monitoring is available for download to Sun customers with any of these entitlements Sun GlassFish Enterprise Server Sun GlassFish Enterprise Server Unlimited Offering Sun GlassFish Enterprise Suite Gold or Platinum Support levels only Sun GlassFish Enterprise Suite Unlimited Offering Installing SNMP Monitoring Sun Java Application Platform Suite Sun Java Enterprise System Sun Java Web Infrastructure Suite Sun Web Space Server To download this component follow these steps Go to the SunSolve site athttp sunsolve sun com Click on the Accept button to accept the SunSolve license agreement 1 2 3 Click on the Login link in the right column and enter your support username and password 4 Click on the Patches and Updates link in the right column 5 Enter the SNMP Monitoring patch number 140750 01 in the PatchFinder field and click on the Find Patch button Click on the HTTP link next to Download Patch a A file named 140750 01 zip is copied to your machine N Unzip the 140750 01 zip file For example unzip 140750 01 zip When you unzip the file an snmp monitoring directory is created within the current directory This new directory contains the __assnmp war file Note Do not rename the _assnmp war file Installing SNMP Monitoring
14. teurs et licenci s Sun reconna t les efforts de pionniers de Xerox pour la recherche et le d veloppement du concept des interfaces d utilisation visuelle ou graphique pour l industrie de l informatique Sun d tient une licence non exclusive de Xerox sur l interface d utilisation graphique Xerox cette licence couvrant galement les licenci s de Sun qui mettent en place l interface d utilisation graphique OPEN LOOK et qui en outre se conforment aux licences crites de Sun Les produits qui font l objet de cette publication et les informations qu il contient sont r gis par la legislation am ricaine en mati re de contr le des exportations et peuvent tre soumis au droit d autres pays dans le domaine des exportations et importations Les utilisations finales ou utilisateurs finaux pour des armes nucl aires des missiles des armes chimiques ou biologiques ou pour le nucl aire maritime directement ou indirectement sont strictement interdites Les exportations ou r exportations vers des pays sous embargo des Etats Unis ou vers des entit s figurant sur les listes d exclusion d exportation am ricaines y compris mais de mani re non exclusive la liste de personnes qui font objet d un ordre de ne pas participer d une fa on directe ou indirecte aux exportations des produits ou des services qui sont r gis par la legislation am ricaine en mati re de contr le des exportations et la liste de ressortissants sp cifiquement design s sont rigoure
15. usement interdites LA DOCUMENTATION EST FOURNIE EN L ETAT ET TOUTES AUTRES CONDITIONS DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE A L APTITUDE A UNE UTILISATION PARTICULIERE OU A L ABSENCE DE CONTREFACON 090210 21990 Getting Started with GlassFish SNMP Monitoring GlassFish Enterprise Manager SNMP Monitoring provides SNMP support for Sun GlassFish Enterprise Server version 2 1 This feature uses the J2EE MIB to expose the Enterprise Server for monitoring by SNMP clients The J2EE MIB is described in Java Specification Request JSR 77 http jcp org en jsr detail id 77 In this release GlassFish Enterprise Manager SNMP Monitoring only supports SNMP versions 1 and 2 and does not support traps This Installation and Quick Start Guide explains how to install and use SNMP monitoring in the following sections Downloading SNMP Monitoring on page 3 Installing SNMP Monitoring on page 4 Accessing GlassFish SNMP Data Using snmpwalk on page 5 Configuring GlassFish SNMP Monitoring on page 7 GlassFish SNMP Tables on page 9 For information for advanced users see the Sun GlassFish Enterprise Manager SNMP Monitoring 1 0 Reference For the latest GlassFish Enterprise Manager SNMP Monitoring updates see the Sun GlassFish Enterprise Manager SNMP Monitori

Download Pdf Manuals

image

Related Search

Related Contents

Studio Par Mini  Bosch 2609256B44  Axis T90A61  Hardware User`s Manual Elevated plus-maze  User Manual - WynMax Inc.  Samsung NP-P40 Lietotāja rokasgrāmata (Vista)  Franke ADG 611-L  平面用センサ 640S-4 取 扱 説 明 書  TG-1工一郎 取扱説明書  TABLE DES MATIÈRES DU MANUEL D`UTILISATION  

Copyright © All rights reserved.
Failed to retrieve file