# Sample targets for weblogic collection # # Michael Han, 4/02 # http://www.mikehan.com/sysadmin/cricket-weblogic.html # # Fill in the blanks as necessary, placing one targets file in subdirectories # for each Weblogic node you monitor target --default-- host = hostname # the serverName is the string you're passing to weblogic to start it via the # -Dweblogic.name property # target Heap target-type = jvmHeap jvmHeap = serverName inst = map(jvm) short-desc = "JVM Heap Statistics" order = 10 # You may add additional queues if you've configured them target defaultExecuteQueue target-type = executeQueue executeQueue = default inst = map(executeQueue) short-desc = "Default Execution Queue" order = 9 # set fooPool to the name of your JDBC pool target fooPool target-type = jdbcPool jdbcConnectionPool = fooPool inst = map(jdbcConnectionPool) short-desc = "JDBC Connection Pools" order = 3 # Create targets for each EJB you wish to monitor -- # resist the impulse to go hog wild -- trying to collect a large amount of # data can get very expensive for weblogic and cricket both target ejb_fooEntity target-type = ejbEntity ejbEntity = foo.bar.baz.fooEntity inst = map(ejbEntity) short-desc = "Entity EJB fooEntity" # Stateful beans were not properly appearing in my installation, but # maybe that was a local problem target ejb_fooStateful target-type = ejbStateful ejbStateful = foo.bar.baz.fooStateful inst = map(ejbStateful) short-desc = "Stateful EJB fooStateful" # Define for the servlets you're interested in # Again, be careful about how many assets you monitor target svlt_foo_jsp target-type = servlet servlet = /foo/bar/baz/foo.jsp inst = map(servlet) short-desc = "servlet /foo/bar/baz/foo.jsp"