SNMP e JDBC

Why an error JDBC don't send traps when starting Weblogic?
I receive others traps, but about JBDC error not.

We are using SNMP to monitor jdbcConnectionPool and perhaps your problem is that you need to connect to the managed server in which the pool is deployed. To do this you need to use (public@"NAME_OF_MANAGED_SERVER") in the snmp-comunity or in case you are connecting to the admin Server you need to use (public@DOMAIN) in the snmp-comunity.

Similar Messages

  • JDBC - ORA-12514 TNS:listener does not currently know of service requested

    Hi, I am using JDBC driver in Java for connecting to my Oracle XE 11g database on Windows 2008 Server R2 Standard, but I am receiving the following error
    +java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor+
    I am using this connection string:
    jdbc:oracle:thin:@WIN-H0E7IBS7HLQ:1521:XE;
    The configuration files:
    listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-H0E7IBS7HLQ)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    tsnames.ora:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-H0E7IBS7HLQ)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    I have already run some diagnostic tools:
    tnsping XE
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 18
    013 17:38:48
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = WI
    IBS7HLQ)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME
    OK (30 msec)
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-MAR-2013
    :10
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 -
    ction
    Start Date 18-MAR-2013 17:25:02
    Uptime 0 days 0 hr. 16 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\net
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\WIN-H0E7IBS7
    stener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=8080))(P
    ation=HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl services
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 18-MAR-2013
    :06
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: WIN-H0E7IBS7HLQ, pid: 5248>
    (ADDRESS=(PROTOCOL=tcp)(HOST=WIN-H0E7IBS7HLQ)(PORT=57253))
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    I have searched a lot about what is possible is going on, but I have'nt found nothing yet. Can somebody please help me
    Edited by: 994624 on 18-mar-2013 15:54

    Both client and server are in localhost. I had a DNS to change the hostname to 127.0.0.1. I have remove it. Same thing happens. This is the listener.log
    Mon Mar 18 18:15:18 2013
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63780)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63781)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63782)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63783)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63785)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63786)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63787)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63788)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63789)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63790)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63791)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63792)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63793)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63794)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63795)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63796)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63797)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63798)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63799)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63800)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63802)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63803)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63804)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:18 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63805)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.84)(PORT=63885)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::b8b1:84a9:681b:ab5a%11)(PORT=63886)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=fe80::18ef:3bdd:3f57:feab%15)(PORT=63887)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    18-MAR-2013 18:15:24 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))(SERVICE_NAME=xe;)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Administrador))) * (ADDRESS=(PROTOCOL=tcp)(HOST=2001:0:9d38:953c:18ef:3bdd:3f57:feab)(PORT=63888)) * establish * xe; * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor

  • SNMP questions

    Hello,
    I just started with SNMP Traps on Weblogic 6.1, and I'm afraid I have some questions.
    a) I configured a Guage monitor to monitor the JVM memory usage.
    But I can't get it working, it never sends out a trap.
    This is the config I'm using:
    <SNMPGaugeMonitor EnabledServers="wb,adminserver"
    MonitoredAttributeName="HeapFreeCurrent"
    MonitoredMBeanName="default" MonitoredMBeanType="JVMRuntime"
    Name="JVMRuntime" PollingInterval="1" ThresholdHigh="8000000" ThresholdLow="7167424"/>
    Anybody has a clue?
    b) Is it possible to monitor if the JDBC connections fails with SNMP? (and if
    to many transactions fails due to timeouts)
    tnx in advance!
    Bart

    Bart,
    Which WLS 6.1 SP are you using? I know there have been problems with earlier SPs.
    I can use the Gauge Monitor for HeapFreeCurrent without problems.
    Here is the config I used:
    SNMPGaugeMonitor EnabledServers="myserver"
    MonitoredAttributeName="HeapFreeCurrent"
    MonitoredMBeanName="myserver"
    MonitoredMBeanType="JVMRuntime"
    Name="HeapSize" PollingInterval="1" ThresholdHigh="5" ThresholdLow="1"/>
    This does generate a trap successfully.
    The MonitoredMBeanName in your case should be equal to the Enabled Server, ie.
    wb (if heapfreecurrent you are monnitoring is part of server wb).
    MD
    "Bart Schelstraete" <[email protected]> wrote:
    >
    Hello,
    I just started with SNMP Traps on Weblogic 6.1, and I'm afraid I have
    some questions.
    a) I configured a Guage monitor to monitor the JVM memory usage.
    But I can't get it working, it never sends out a trap.
    This is the config I'm using:
    <SNMPGaugeMonitor EnabledServers="wb,adminserver"
    MonitoredAttributeName="HeapFreeCurrent"
    MonitoredMBeanName="default" MonitoredMBeanType="JVMRuntime"
    Name="JVMRuntime" PollingInterval="1" ThresholdHigh="8000000"
    ThresholdLow="7167424"/>
    Anybody has a clue?
    b) Is it possible to monitor if the JDBC connections fails with SNMP?
    (and if
    to many transactions fails due to timeouts)
    tnx in advance!
    Bart

  • Monitor ETL process using SNMP

    Hi,
    I have an ETL process that runs continuously and add lines to a table under Oracle 11g on Linux. I would like to monitor the proper operation of the ETL using an external SNMP manager (eg Zabbix). To do this the algorithm would be like this:
    - List and count lines that have been to the table durig the last n minutes;
    - Update an SNMP counter
    - Repeat every n minutes.
    I was thinking about creating a small Perl subagent for net-snmp that would execute an SQL query using JDBC, but is there a better way to do this? For instance by using an Ora

    I assume you're talking about scripting this? Probably the easiest thing to do would be to use Curl. I've attached an example. You'll need to change a couple values for it to work.
    The output is different than what you'd get if you did a "df" using the service account. You'll have to decide which output you require.

  • Jdbc. The Network Adapter could not establish the connection. Help Please!!

    I've found several responses over this issue, but none works for me.
    I'm trying to setup a simple jdbc connection from a simple program.
    Platform:
    Fedora Core 4 (FC4) on AMD 64 bits
    Java 1.4.2_04 (64 bits)
    ORacle 10g or Oracle 9.2.0.4 (none works);
    Tips:
    - I can't connect to a remote server, nor to a local server
    - I can connect using SQLplus
    - TNSPing works fine
    - Listener it's up
    - my connection string is jdbc:oracle:thin:user/name@host:port:sid
    - Also try jdbc:oracle:thin:user/name@//host:port/sid
    - I'v tryied with classes12.jar, odbj14.jar
    - my hostname it's ok.
    I've monitored ip traffic on remote computer. While using TNSPING I detect activity. While using jdbc, no.
    Please, any idea??

    Thanks for your reply.
    To your questions:
    - I´v tried both IP, host, and even host.domain
    - I can connect from remote workstation using toad, and from local using sqlplus.
    - I can´t connect via jdbc.
    Folowing:
    A) my sample code
    B) the stack trace
    C) the listener status (from my 9i server. Also tryied another servr with 10g)
    when I call this program, I´ve tried severl connection strings:
    jdbc:oracle:thin:user/pass@sdd51:1521:ebf
    jdbc:oracle:thin:user/pass@:sdd51.sdd.com.ar:1521:ebf
    jdbc:oracle:thin:user/pass@:10.10.10.51:1521:ebf
    also try the other sintax:
    jdbc:oracle:thin:user/pass@//sdd51:1521/ebf
    In the classpath, I´tryied:
    clasess12.jar
    ojdbc14.jar
    nls_charset12.jar
    thanks
    A)=================================================
    // Import the JDBC classes
    import java.sql.*;
    import oracle.jdbc.pool.OracleDataSource;
    import java.io.*;
    import java.util.*;
    public class test
    // The query we will execute
    static final String query = "select 'Hello JDBC: ' || sysdate from dual";
    // The connection to the database
    static Connection conn;
    // Create the User Interface
    static public void main (String args[])
    try {
    String connect_string = args[0];
         // See if we need to open the connection to the database
         if (conn == null)
    // Create a OracleDataSource instance and set URL
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(connect_string);
         // Connect to the databse
         System.out.println ("Connecting to " + connect_string + "\n");
         conn = ods.getConnection ();
         System.out.println ("Connected\n");
         // Create a statement
         Statement stmt = conn.createStatement ();
         // Execute the query
         System.out.println ("Executing query " + query + "\n");
         ResultSet rset = stmt.executeQuery (query);
         // Dump the result
         while (rset.next ())
         System.out.println (rset.getString (1) + "\n");
         // We're done
         System.out.println ("done.\n");
    catch (Exception e)
    e.printStackTrace();
         // Oops
         System.out.println (e.getMessage () + "\n");
    B)=================================================
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:212)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:102)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:85)
         at test.main(test.java:66)
    C)=================================================
    LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 30-JAN-2006 17:39:59
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    Start Date 24-JAN-2006 11:16:18
    Uptime 6 days 6 hr. 23 min. 40 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Log File /opt/oracle/product/9.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sdd51.sdd.com.ar)(PORT=1521)))
    Services Summary...
    Service "ebf" has 1 instance(s).
    Instance "ebf", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • Snmp configuration on weblogic 10 has no effect

    SNMP in MMC(Mobile Management Center, A HP Product), use joesnmp.jar internal to send snmp trap generated by mmc app. This part works well in weblogic 10;
    snmp in weblogic , configured by weblogic console. In weblogic 8, we configure such items:
    Weblogic Subsystem
    Purpose
    Level
    Deployer
    Monitor all war/ear deploy/undeploy/redeploy
    INFO
    JDBC
    Monitor all warnings/errors in jdbc operation
    WARN
    Current tests shows that the snmp configuration on weblogic 10 has no effect.
    Due to MMC4.6 gets the Weblogic updated from 8.16 to 10.3, we didn’t find the configuration about “Enable JDBC Logging”. Below is the former config page about Weblogic 8.16.
    But in Weblogic 10.3 we cannot find this configuration. We have followed the guide http://e-docs.bea.com/wls/docs100/jdbc_admin/monitor.html#wp1048793
    And tried to set the appropriate properties on the command line like this,
    -Dweblogic.debug.DebugJDBCSQL=true -Dweblogic.log.StdoutSeverity="Info"
    Actually we can get the DM, Core, SMTP, Bulk, Adaptor Class, and connection fail error messages in weblogic backend log, but seems Weblogic cannot send SNMP trap messages to SNMP monitoring tool like Openview.
    PS. Weblogic can send out the SNMP trap messages when the server starts and stops.
    So till now the SNMP cannot monitor the DM, Core, SMTP, Bulk, Adaptor Class, and connection fail for MMC4.6.

    Hi, I am on 12.1 weblogic, and I am stuck on where you set the SNMP Servername and port number.
    We are on windows 2008, I see there is a services, SNMP .
    Is there something I need to do on the weblogic side before i get into the SNMP agenets and traps, this part I understand, I am just unsure where to add the SNMP Servername and the user I wish the emails to go to.
    I see in the security realms the user i can add to the group monitors.
    -->, I am running WL 10.3 and SNMP works fine. The cluster generates traps based on particular mbeans, such as when a server's health state is not "OK", or when there are JDBC connection issues. You have to create a new SNMP agent within the admin server then build the individual traps ( String, Gauge, Counter, etc. ) and make sure you have a Trap Destination.

  • Programing in java using snmp

    hi
    i am new to snmp so plz bear with me actually i am trying to build a network monitoring system using snmp.how do i go abt it.how do i start?my application will be running on the server and i have made a database in sql which i hav connected using jdbc and now i want to retrieve data from the managed computers i want the object ids of the managed computers and i want to use snmp commands like get() but i am unable to do so as i dont know the required packages which i need to import i would appreciate if someone can provide with some code snippets or any other related information
    thanks

    STOP CROSS POSTING THIS QUESTION
    http://forum.java.sun.com/thread.jspa?threadID=703014

  • SNMP Configuration on solaris10

    Please can anybody put some light on SNMP configuration on Solaris 10.I am newbie on this.I read SMA Agaent on solaris 10 is NET-SNMP compliant.I need to monitor disk usage,CPU load ..So I configured snmpd.conf (inside /etc/sma/snmp) for this.The traps I am getting are of series 1.3.6.1.4.1.8072.3.2.3.But I am not able to figure the MIB s which contains the description of these kind of traps.
    Please help me.

    Hi, I am on 12.1 weblogic, and I am stuck on where you set the SNMP Servername and port number.
    We are on windows 2008, I see there is a services, SNMP .
    Is there something I need to do on the weblogic side before i get into the SNMP agenets and traps, this part I understand, I am just unsure where to add the SNMP Servername and the user I wish the emails to go to.
    I see in the security realms the user i can add to the group monitors.
    -->, I am running WL 10.3 and SNMP works fine. The cluster generates traps based on particular mbeans, such as when a server's health state is not "OK", or when there are JDBC connection issues. You have to create a new SNMP agent within the admin server then build the individual traps ( String, Gauge, Counter, etc. ) and make sure you have a Trap Destination.

  • JDBC connect from remote computer fails

    Hi all,
    I have successfully installed the XE server and I can connect over JDBC from clients running locally on the machine where the XE server is installed.
    However when I try to connect from a remote computer using the same client I get an error saying: The Network Adapter could not establish the connection
    I can ping the machine with XE installed and all firewalls on the machines are turned off.
    Any ideas on the subject of JDBC remote connect to XE server? Or is it simply that it is not supported?
    Appreciate all the help I can get.
    Thanks,
    /Anders

    On my machine I have the listener bound to local interface.
    Listener.ora has hostname in it, and this is the listener status:
    As status shows the hostname is resolved to localhost, on this machine I am unable (with this configuration) to share the db to other machines (I do not have oracle client on my other pc, but telnet is unable to connect to port 1521).
    Changing hostname to ipaddres solves.
    [andrea@bones ~]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Beta on 15-DEC-2005 21:28:51
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=bones)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Beta
    Start Date                15-DEC-2005 21:28:40
    Uptime                    0 days 0 hr. 0 min. 11 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [andrea@bones ~]$

  • Weblogic 6 and snmp

    Reliable E-Commerce Solutions on Open StandardsThe BEA WebLogic 5.1 application servers improve e-commerce reliability with better application manageability and availability with new support for Simple Network Management Protocol (SNMP). Customers can integrate their BEA WebLogic applications and servers into SNMP-based enterprise management frameworks that enable users to monitor their e-commerce applications and proactively detect and respond to problems as they occur. Furthermore, BEA WebLogic 5.1 application servers offer end-to-end security, from the browser to back-end transaction and data management systems, and provide new security capabilities including dynamic access control lists and flexible integration with third-party security frameworks. Through integration with leading security vendors such as Blockade, Entegrity Solutions (formerly Gradient), Netegrity and PentaSafe, BEA WebLogic customers can take advantage of additional security capabilities such as single sign-on and advanced auditing.

    Bart,
    Which WLS 6.1 SP are you using? I know there have been problems with earlier SPs.
    I can use the Gauge Monitor for HeapFreeCurrent without problems.
    Here is the config I used:
    SNMPGaugeMonitor EnabledServers="myserver"
    MonitoredAttributeName="HeapFreeCurrent"
    MonitoredMBeanName="myserver"
    MonitoredMBeanType="JVMRuntime"
    Name="HeapSize" PollingInterval="1" ThresholdHigh="5" ThresholdLow="1"/>
    This does generate a trap successfully.
    The MonitoredMBeanName in your case should be equal to the Enabled Server, ie.
    wb (if heapfreecurrent you are monnitoring is part of server wb).
    MD
    "Bart Schelstraete" <[email protected]> wrote:
    >
    Hello,
    I just started with SNMP Traps on Weblogic 6.1, and I'm afraid I have
    some questions.
    a) I configured a Guage monitor to monitor the JVM memory usage.
    But I can't get it working, it never sends out a trap.
    This is the config I'm using:
    <SNMPGaugeMonitor EnabledServers="wb,adminserver"
    MonitoredAttributeName="HeapFreeCurrent"
    MonitoredMBeanName="default" MonitoredMBeanType="JVMRuntime"
    Name="JVMRuntime" PollingInterval="1" ThresholdHigh="8000000"
    ThresholdLow="7167424"/>
    Anybody has a clue?
    b) Is it possible to monitor if the JDBC connections fails with SNMP?
    (and if
    to many transactions fails due to timeouts)
    tnx in advance!
    Bart

  • Which JDBC driver do I want?

    I have the oracle database on a oracle linux guest VM on a Windows 7 host.
    I want to run queries on the windows 7 host that execute in the linux oracle guest OS running the oracle database.
    I would like to run [http://squirrel-sql.sourceforge.net/|http://squirrel-sql.sourceforge.net/] and execute SQL queries and write java programs that use the jdbc drivers to execute queries on windows 7.
    Sooo.... I go to this page:
    [http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html|http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html]
    And I'm overwhelmed with choices! Can someone help me identify which JDBC driver I want?
    Oracle Database 11g Release 2 (11.2.0.3) JDBC Drivers
    SimpleFAN
    simplefan.jar (20,345 bytes), simplefan policy, javadoc
    JDBC Thin for All Platforms
         JavaDoc (6,456,081 bytes)
         README
         ojdbc5.jar (2,095,932 bytes) - Classes for use with JDK 1.5. It contains the JDBC driver classes, except classes for NLS support in Oracle Object and Collection types.
         ojdbc5_g.jar (3,426,203 bytes) - Same as ojdbc5.jar, except that classes were compiled with "javac -g" and contain tracing code.
         ojdbc6.jar (2,714,189 bytes) - Classes for use with JDK 1.6. It contains the JDBC driver classes except classes for NLS support in Oracle Object and Collection types.
         ojdbc6_g.jar (4,463,274 bytes) - Same as ojdbc6.jar except compiled with "javac -g" and contains tracing code.
         ojdbc5dms.jar (2,617,374 bytes) - Same as ojdbc5.jar, except that it contains instrumentation to support DMS and limited java.util.logging calls.
         ojdbc5dms_g.jar (3,447,502 bytes) - Same as ojdbc5_g.jar, except that it contains instrumentation to support DMS.
         ojdbc6dms.jar (3,327,932 bytes) - Same as ojdbc6.jar, except that it contains instrumentation to support DMS and limited java.util.logging calls.
         ojdbc6dms_g.jar (4,486,082 bytes) - Same as ojdbc6_g.jar except that it contains instrumentation to support DMS.
         orai18n.jar (1,656,248 bytes) - NLS classes for use with JDK 1.5, and 1.6. It contains classes for NLS support in Oracle Object and Collection types. This jar file replaces the old nls_charset jar/zip files.
         demo.zip (606,505 bytes) - contains sample JDBC programs.
         xdb6.jar (262,740 bytes) - To use the standard JDBC4.0 java.sql.SQLXML interface with JDBC 11.2.0.3, you need to use xdb6.jar (instead of xdb.jar) from the 11.2.0.3 distribution..
    Note: For platform specific JDBC-OCI libraries See Instant Client
    Thanks!
    Siegfried

    I restored the original source and compiled it on my linux VM and recieved a similar stack trace.
    Here is the result of the first command:
    [oracle@localhost conn]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-SEP-2012 20:57:19
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=0.0.0.0)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 28-SEP-2012 19:24:47
    Uptime 0 days 1 hr. 32 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=80))(PROTOCOL_STACK=(PRESENTATION=HTTP)(SESSION=RAW)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=21))(PROTOCOL_STACK=(PRESENTATION=FTP)(SESSION=RAW)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 2 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@localhost conn]$
    Here is the second
    [oracle@localhost conn]$ lsnrctl service
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 28-SEP-2012 20:58:42
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=0.0.0.0)(PORT=1521)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 2 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:34 refused:0 state:ready
    LOCAL SERVER
    "N000" established:0 refused:0 current:0 max:20000 state:ready
    CMON <machine: localhost.localdomain, pid: 2750>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=22398))
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: localhost.localdomain, pid: 2700>
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=31281))
    The command completed successfully
    [oracle@localhost conn]$
    Thanks!

  • SNMP Agent issues?

    Hi all,
    Do anybody have some OID samples (and what they mean) of WebLogic MIB?
    I'm trying to understand the WLS MIB, but...
    Thanks in advance.
    Rodrigo Minati

    I will explain it here with an example:
    if I give the following snmpwalk command to find the total number of
    jdbc connections and the result is:
    c:\releases\61\jdk131\bin\java snmpwalk -p 161 -c public localhost
    .1.3.6.1.4.1.140.625.190.1.55
    Object ID:
    .1.3.6.1.4.1.140.625.190.1.55.32.48.99.98.102.99.49.55.101.52.52.99.4
    8.102.97.53.48.48.49.101.54.54.99.102.101.48.52.49.98.49.98.48.99
    INTEGER: 4
    Object ID:
    .1.3.6.1.4.1.140.625.190.1.55.32.55.102.51.52.55.98.50.99.102.101.98.
    97.54.50.51.56.99.57.56.49.97.99.57.54.100.52.49.55.57.57.55.100
    INTEGER: 1
    Object ID:
    .1.3.6.1.4.1.140.625.190.1.55.32.97.98.51.55.54.53.48.51.98.57.99.50.
    99.54.55.52.97.100.100.52.97.48.102.51.100.100.102.97.53.98.101.48
    INTEGER: 4
    So, here you are asking for the OID .1.3.6.1.4.1.140.625.190.1.55 which
    represents jdbcConnectionPoolRuntimeConnectionsTotalCount (55) from the
    jdbcConnectionPoolTable (190)
    If you look at the MIB you will see that:
    Each table has a number of entries which comprise of a sequence of
    attributes.
    Each entry has an index or a primary key.
    The index is a unique value which is derived from the ObjectName of the
    MBean.
    So, in the above result:
    .1.3.6.1.4.1.140.625.190.1.55 is the OID of the
    jdbcConnectionPoolRuntimeConnectionsTotalCount
    32 - The next digit - gives the length of the index.
    48.99.98.102.99.49.55.101.52.52.99.48.102.97.53.48.48.49.101.54.54.99.102.101.48.52.49.98.49.98.48.99
    These are the 32 ascii characters which is the index of this entry in
    the jdbcConnectionPoolTable
    and it represents the index - 0cbfc17e44c0fa5001e66cfe041b1b0c
    As, I had 3 connection pools, I got 3 entries back each with a unique
    index of 32 ascii characters.
    If you were to find the indexes only, give the following command:
    c:\releases\61\jdk131\bin\java snmpwalk -p 161 -c public localhost
    .1.3.6.1.4.1.140.625.190
    Object ID:
    .1.3.6.1.4.1.140.625.190.1.1.32.48.99.98.102.99.49.55.101.52.52.99.48
    .102.97.53.48.48.49.101.54.54.99.102.101.48.52.49.98.49.98.48.99
    STRING: 0cbfc17e44c0fa5001e66cfe041b1b0c
    Object ID:
    .1.3.6.1.4.1.140.625.190.1.1.32.55.102.51.52.55.98.50.99.102.101.98.9
    7.54.50.51.56.99.57.56.49.97.99.57.54.100.52.49.55.57.57.55.100
    STRING: 7f347b2cfeba6238c981ac96d417997d
    Object ID:
    .1.3.6.1.4.1.140.625.190.1.1.32.97.98.51.55.54.53.48.51.98.57.99.50.9
    9.54.55.52.97.100.100.52.97.48.102.51.100.100.102.97.53.98.101.48
    STRING: ab376503b9c2c674add4a0f3ddfa5be0
    So, the strings here are the indexes in the table and match the ones you
    see when you find the jdbcConnectionPoolRuntimeConnectionsTotalCount.
    If you require more information on snmp, asn1 and mibs, please go
    through the white paper attached.
    I had written it in the 51 days .... there are differences compared to
    61 but the basic concepts are the same ....
    Also, please realise that the ASN1 syntax is a standard made for
    machines and not humans so its better to use tools which can read and
    translate the OIDs for you....
    hope this helps
    Rodrigo Minati wrote:
    Hi all,
    Do anybody have some OID samples (and what they mean) of WebLogic MIB?
    I'm trying to understand the WLS MIB, but...
    Thanks in advance.
    Rodrigo Minati

  • Help with JMX, SNMP in my app.

    My app has bunch of EJBs(in Jars) and one WAR file. Everything is packaged inside EAR file. My app is using JDBC and IMAP connections. Currently SNMP implementation is very simple - we jsut sending fixed trap with variable VarBind information.(no set/get functionality). Please elt me know if somebody implemented MBeans for their application. We are planning to have a full set/get functionality with MIB defined through SNMP Agent on WLS. IS it possible? I would like to hear some ideas on how to implement it.
    Thank you foir your help in advance.

    I would like to be able to do gets and sets on my EJBs and WebApps from
    a remote SNMP
    client manager. I know sets cannot be done to WL MBeans using the
    WebLogic SNMP Service. I see two ways
    to go, run an AdventNet or Sun SNMP adapter in each WL Server which will
    forward
    SNMP requests to the MBeanServer or run my own SNMP agent which is
    proxied from
    the WL SNMP agent. The WL SNMP agent does not allow sets, will it
    forward set commands
    to other SNMP agents it is proxying for?
    Mihir Kulkarni wrote:
    Rick/Stanislav, could you please elaborate ?
    Do you want to add to the BEA MIB - that is not possible
    if you want to write custom MBeans to monitor things, you certiainly can by registering your notificationListener on the mbean...
    I dont think, it would be possible to monitor a custom MBean through SNMP.
    my 2 cents,
    Mihir
    Rick Holland wrote:
    I am interested in exactly the same thing. However since 6 weeks has
    gone by without a response it looks like we are on our own.
    Stanislav Paltis wrote:
    My app has bunch of EJBs(in Jars) and one WAR file. Everything is packaged inside EAR file. My app is using JDBC and IMAP connections. Currently SNMP implementation is very simple - we jsut sending fixed trap with variable VarBind information.(no set/get functionality). Please elt me know if somebody implemented MBeans for their application. We are planning to have a full set/get functionality with MIB defined through SNMP Agent on WLS. IS it possible? I would like to hear some ideas on how to implement it.
    Thank you foir your help in advance.
    - Rick Holland OO/Distributed Systems Consultant
    - ObjectAge Inc.
    - [email protected]
    "Logic is a wreath of pretty flowers, that smell bad"
    - Rick Holland OO/Distributed Systems Consultant
    - ObjectAge Inc.
    - [email protected]
    "Logic is a wreath of pretty flowers, that smell bad"
    [att1.html]

  • JDBC Connection Error ORA-12514

    Hi all,
    I am trying to connect to an Oracle database on my workstation. I am
    running Red Hat WS 4.x.
    The odbc string I am using is this:
    jdbc:oracle:thin:@//localhost:1521/danoracle
    I am getting the following error:
    Error getting JDBC connection using driver
    'oracle.jdbc.driver.OracleDriver' to database at
    'jdbc:oracle:thin:@//ddschwitrh4.er.xxxx.gov:1521/danoracle' for user
    'satin': java.sql.SQLException: Listener refused the connection with the
    following error:
    ORA-12514, TNS:listener does not currently know of service requested in
    connect descriptor

    It looks like the spam filter does not like the copyright line of the output in both commands.
    [oracle@ddschwitrh4 ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-FEB-2011 11:21:31
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 03-FEB-2011 11:00:55
    Uptime 25 days 0 hr. 20 min. 35 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /home/oracle/app/oracle/diag/tnslsnr/ddschwitrh4/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ddschwitrh4.er.xxxx.gov)(PORT=1521)))
    Services Summary...
    Service "danoraclXDB.er.xxxx.gov" has 1 instance(s).
    Instance "danoracl", status READY, has 1 handler(s) for this service...
    Service "danoracle.er.xxxx.gov" has 1 instance(s).
    Instance "danoracl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@ddschwitrh4 ~]$ lsnrctl services
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-FEB-2011 11:22:32
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "danoraclXDB.er.xxxx.gov" has 1 instance(s).
    Instance "danoracl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: ddschwitrh4.er.xxxx.gov, pid: 20456>
    (ADDRESS=(PROTOCOL=tcp)(HOST=ddschwitrh4.er.xxxx.gov)(PORT=11097))
    Service "danoracle.er.xxxx.gov" has 1 instance(s).
    Instance "danoracl", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:31020 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully

  • How to configure ONS on JDBC client?

    I have configured JDBC client through OracleDataSource to enable implicit cache, fast connection failover and ONS like:
    OracleDataSource ods = new OracleDataSource();
    ods.setURL( theURL );
    ods.setUser( theUser );
    ods.setPassword( thePassword );
    ods.setConnectionCacheName("foo");
    ods.setConnectionCachingEnabled(true);
    ods.setFastConnectionFailoverEnabled(true);
    ods.setONSConfiguration("nodes=server1.com:6350,server2.com:6350";
    // set connection cache properties
    ods.setConnectionCacheProperties(cacheProps);
    The connection cache works, but following document says:
    "Oracle Notification Service (ONS) is configured and available on the node where JDBC is running. JDBC depends on ONS to propagate database events and notify JDBC of them."
    http://download.oracle.com/docs/cd/B13789_01/java.101/b10979/fastconnfail.htm
    I'm a bit confused. The machine that runs JDBC client, i.e. Java app server, doesn't have oracle db or oracle client installed, and no ORACLE_HOME. Does this indicate the machine that has JDBC client needs to install Oracle client or copy the whole ORACLE_HOME package?
    Thanks in advance!

    As a side note, I made an interesting discovery last week: the SNMP Service is deprecated in Windows Server 2012. Why would you want to use SNMP on an actual Windows OS though? There are far better ways available to monitor Windows. I'm sure that lines
    up with why they deprecated it.
    Jason | http://blog.configmgrftw.com

Maybe you are looking for

  • Nvidia HW probs? [fixed]

    For whatever reason, my nvidia card has decided not to talk to the drivers, or something. I can delete my xorg.conf, and I'm assuming use the riva driver, have no probs, everything loads, looks good. But when I try to load the nvidia driver, I get NV

  • Working with DIAdem REPORT in DIAdem SCRIPT

    Hello, I am working with DIAdem 9.1 Advanced. I would like to create a report with a 2D graph object containing one curve (X,Y1) or (X,Y2). The user has to choose between (X,Y1) and (X,Y2) via a dialog box. I want to generate this report with a VBS s

  • Regarding Tablename in Selection-screen

    HI all,    my requirement is,, If i will give Table name in the selection-screen then the output is to display all the fields in table... for example if i will give MARA.... THE Output has to display all the fields of mara and their description.. can

  • Dynamic agent rule during approval

    Hi gurus, my question is based on a customer requirement. they want a n-step approval with dynamic agent determination: fine. then they want to maintain the substitutes: fine as well. But what they want to do is to change the workflow path based on t

  • How to set Proxy for iTunes Store?

    I work in my office behind firewall... I have set the proxy in the Network->Proxies in all the options along with my username and password. My iTunes is able to show my Store (India), but when I try to sign-in. It give following error "We could not c