org.opennms.netmgt.poller.monitors
Class JDBCStoredProcedureMonitor

java.lang.Object
  extended by org.opennms.netmgt.poller.monitors.IPv4Monitor
      extended by org.opennms.netmgt.poller.monitors.JDBCMonitor
          extended by org.opennms.netmgt.poller.monitors.JDBCStoredProcedureMonitor
All Implemented Interfaces:
ServiceMonitor

public final class JDBCStoredProcedureMonitor
extends JDBCMonitor

This class implements a basic JDBC monitoring framework; The idea is than these tests doesn't take too long (or too much resources to run) and provide the basic healt information about the polled server. See src/services/org/opennms/netmgt/poller OpenNMS plugin information at OpenNMS developer site

Since:
0.1
Author:
Jose Vicente Nunez Zuleta (josevnz@users.sourceforge.net) - RHCE, SJCD, SJCP version 0.1 - 07/23/2002 * version 0.2 - 08/05/2002 -- Added retry logic, input validations to poller.

Field Summary
 
Fields inherited from class org.opennms.netmgt.poller.monitors.JDBCMonitor
DEFAULT_RETRY, DEFAULT_TIMEOUT
 
Constructor Summary
JDBCStoredProcedureMonitor()
          Class constructor.
 
Method Summary
 PollStatus checkDatabaseStatus(Connection con, Map parameters)
           
 
Methods inherited from class org.opennms.netmgt.poller.monitors.JDBCMonitor
closeStmt, initialize, initialize, poll, release, release
 
Methods inherited from class org.opennms.netmgt.poller.monitors.IPv4Monitor
log, logDown, logDown, logUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCStoredProcedureMonitor

public JDBCStoredProcedureMonitor()
                           throws ClassNotFoundException,
                                  InstantiationException,
                                  IllegalAccessException
Class constructor.

Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
Method Detail

checkDatabaseStatus

public PollStatus checkDatabaseStatus(Connection con,
                                      Map parameters)
Overrides:
checkDatabaseStatus in class JDBCMonitor


Copyright © 2009. All Rights Reserved.