goldengate.snmp.r66
Class GgPrivateMib

java.lang.Object
  extended by goldengate.snmp.r66.GgPrivateMib
All Implemented Interfaces:
GgInterfaceMib, org.snmp4j.agent.MOGroup
Direct Known Subclasses:
GgImplPrivateMib

public abstract class GgPrivateMib
extends Object
implements GgInterfaceMib

Private MIB for GoldenGate OpenR66

Author:
Frederic Bregier

Nested Class Summary
static class GgPrivateMib.goldenGateDefinitionIndex
          Definition part
static class GgPrivateMib.goldenGateDetailedValuesIndex
          Detailed part
static class GgPrivateMib.goldenGateErrorValuesIndex
          Error part
static class GgPrivateMib.goldenGateGlobalValuesIndex
          Global part
static class GgPrivateMib.MibLevel
          MIB entry levels
static class GgPrivateMib.NotificationElements
          Notification Elements
static class GgPrivateMib.NotificationTasks
          Notification for a task trap
static class GgPrivateMib.OperStatus
          Oper Status (as defined in Net Application SNMP)
 
Nested classes/interfaces inherited from interface goldengate.snmp.interf.GgInterfaceMib
GgInterfaceMib.TrapLevel
 
Field Summary
 String address
          SnmpConstants.sysLocation
 GgSnmpAgent agent
          Corresponding agent
 org.snmp4j.smi.OID applicationProtocol
          will be = new OID(applicationProtocolBase+port);
 String applicationProtocolBase
          need to add ".port" like "6666" Only in TCP (no UDP supported for GoldenGate) example: rootEnterpriseMib+"66666"+".1.1.4
 String contactName
          SnmpConstants.sysContact
 org.snmp4j.smi.OID ggObjectId
          SnmpConstants.sysObjectID
static GgEntry[] goldenGateDefinition
          Definition part
static GgEntry[] goldenGateDetailedValues
          Detailed part
static GgEntry[] goldenGateErrorValues
          Error part
static GgEntry[] goldenGateGlobalValues
          Global part
 org.snmp4j.smi.OID rootOIDGoldenGate
          root OID
 org.snmp4j.smi.OID rootOIDGoldenGateDetailed
          Detailed dynamic part
 org.snmp4j.smi.OID rootOIDGoldenGateError
          Error dynamic part
 org.snmp4j.smi.OID rootOIDGoldenGateGlobal
          Global dynamic part
 org.snmp4j.smi.OID rootOIDGoldenGateGlobalUptime
          Uptime OID
 org.snmp4j.smi.OID rootOIDGoldenGateInfo
          Info static part
 org.snmp4j.smi.OID rootOIDGoldenGateNotif
          Used in Notify
 org.snmp4j.smi.OID rootOIDGoldenGateNotifStartOrShutdown
          Used in Notify Start or Shutdown
 GgMORow rowDetailed
          Detailed Row access
 GgMORow rowError
          Error Row access
 GgMORow rowGlobal
          Global Row access
 GgMORow rowInfo
          Info Row access
 GgMOScalar scalarUptime
          Corresponding UpTime in Mib
 int service
          SnmpConstants.sysServices transport + application
 int smiPrivateCode
          Private MIB: not published so take an OID probably not attributed
 int smiTypeGoldengate
          identification of GoldenGate module
 org.snmp4j.agent.mo.snmp.SNMPv2MIB snmpv2
          New SNMPV2 MIB
 String srootOIDGoldenGate
          root OID in String
 String textualName
          SnmpConstants.sysName
 String textualSysDecr
          SnmpConstants.sysDescr
 org.snmp4j.agent.mo.snmp.SysUpTime upTime
          SnmpConstants.sysUpTime
 
Fields inherited from interface goldengate.snmp.interf.GgInterfaceMib
rootEnterpriseMib
 
Constructor Summary
GgPrivateMib(String sysdesc, int port, int smiPrivateCodeFinal, int typeGoldenGateObject, String scontactName, String stextualName, String saddress, int iservice)
           
 
Method Summary
protected abstract  void agentRegisterGoldenGateMib()
          Register this MIB
protected  void agentRegisterSystem()
          Unregister and Register again the SNMPv2MIB with System adapted to this Mib
protected  void agentUnregisterMibs()
          Unregister this MIB
 void changeStatus(GgPrivateMib.OperStatus status)
          Change the status and the LastChange Timeticks
protected  void defaultAgentRegisterGoldenGateMib()
          Register this MIB
 org.snmp4j.smi.OID getBaseOidStartOrShutdown()
           
 org.snmp4j.agent.mo.snmp.SNMPv2MIB getSNMPv2MIB()
           
 void registerMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context)
           
 void setAgent(GgSnmpAgent agent)
          Set the agent
 void unregisterMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface goldengate.snmp.interf.GgInterfaceMib
updateServices, updateServices
 

Field Detail

textualSysDecr

public String textualSysDecr
SnmpConstants.sysDescr


ggObjectId

public org.snmp4j.smi.OID ggObjectId
SnmpConstants.sysObjectID


contactName

public String contactName
SnmpConstants.sysContact


textualName

public String textualName
SnmpConstants.sysName


address

public String address
SnmpConstants.sysLocation


service

public int service
SnmpConstants.sysServices transport + application


upTime

public org.snmp4j.agent.mo.snmp.SysUpTime upTime
SnmpConstants.sysUpTime


applicationProtocolBase

public String applicationProtocolBase
need to add ".port" like "6666" Only in TCP (no UDP supported for GoldenGate) example: rootEnterpriseMib+"66666"+".1.1.4.";


applicationProtocol

public org.snmp4j.smi.OID applicationProtocol
will be = new OID(applicationProtocolBase+port);


smiPrivateCode

public int smiPrivateCode
Private MIB: not published so take an OID probably not attributed


smiTypeGoldengate

public int smiTypeGoldengate
identification of GoldenGate module


srootOIDGoldenGate

public String srootOIDGoldenGate
root OID in String


rootOIDGoldenGate

public org.snmp4j.smi.OID rootOIDGoldenGate
root OID


rootOIDGoldenGateNotif

public org.snmp4j.smi.OID rootOIDGoldenGateNotif
Used in Notify


rootOIDGoldenGateNotifStartOrShutdown

public org.snmp4j.smi.OID rootOIDGoldenGateNotifStartOrShutdown
Used in Notify Start or Shutdown


rootOIDGoldenGateInfo

public org.snmp4j.smi.OID rootOIDGoldenGateInfo
Info static part


rowInfo

public GgMORow rowInfo
Info Row access


rootOIDGoldenGateGlobal

public org.snmp4j.smi.OID rootOIDGoldenGateGlobal
Global dynamic part


rowGlobal

public GgMORow rowGlobal
Global Row access


rootOIDGoldenGateGlobalUptime

public org.snmp4j.smi.OID rootOIDGoldenGateGlobalUptime
Uptime OID


scalarUptime

public GgMOScalar scalarUptime
Corresponding UpTime in Mib


rootOIDGoldenGateDetailed

public org.snmp4j.smi.OID rootOIDGoldenGateDetailed
Detailed dynamic part


rowDetailed

public GgMORow rowDetailed
Detailed Row access


rootOIDGoldenGateError

public org.snmp4j.smi.OID rootOIDGoldenGateError
Error dynamic part


rowError

public GgMORow rowError
Error Row access


snmpv2

public org.snmp4j.agent.mo.snmp.SNMPv2MIB snmpv2
New SNMPV2 MIB


agent

public GgSnmpAgent agent
Corresponding agent


goldenGateDefinition

public static GgEntry[] goldenGateDefinition
Definition part


goldenGateGlobalValues

public static GgEntry[] goldenGateGlobalValues
Global part


goldenGateDetailedValues

public static GgEntry[] goldenGateDetailedValues
Detailed part


goldenGateErrorValues

public static GgEntry[] goldenGateErrorValues
Error part

Constructor Detail

GgPrivateMib

public GgPrivateMib(String sysdesc,
                    int port,
                    int smiPrivateCodeFinal,
                    int typeGoldenGateObject,
                    String scontactName,
                    String stextualName,
                    String saddress,
                    int iservice)
Parameters:
sysdesc - The System Description to associate
port - the port to show as used by the application
smiPrivateCodeFinal - the smiPrivateCode (should be 66666)
typeGoldenGateObject - the type of GoldenGate Object (should be 66)
scontactName - the contact name to show
stextualName - the textual name to show
saddress - the address to show
iservice - the service to show (should be 72)
Method Detail

setAgent

public void setAgent(GgSnmpAgent agent)
Description copied from interface: GgInterfaceMib
Set the agent

Specified by:
setAgent in interface GgInterfaceMib

getBaseOidStartOrShutdown

public org.snmp4j.smi.OID getBaseOidStartOrShutdown()
Specified by:
getBaseOidStartOrShutdown in interface GgInterfaceMib
Returns:
the base OID for trap or notification of Start or Shutdown

getSNMPv2MIB

public org.snmp4j.agent.mo.snmp.SNMPv2MIB getSNMPv2MIB()
Specified by:
getSNMPv2MIB in interface GgInterfaceMib
Returns:
the SNMPv2MIB associated with this MIB

agentRegisterSystem

protected void agentRegisterSystem()
                            throws org.snmp4j.agent.DuplicateRegistrationException
Unregister and Register again the SNMPv2MIB with System adapted to this Mib

Throws:
org.snmp4j.agent.DuplicateRegistrationException

defaultAgentRegisterGoldenGateMib

protected void defaultAgentRegisterGoldenGateMib()
                                          throws org.snmp4j.agent.DuplicateRegistrationException
Register this MIB

Throws:
org.snmp4j.agent.DuplicateRegistrationException

agentRegisterGoldenGateMib

protected abstract void agentRegisterGoldenGateMib()
                                            throws org.snmp4j.agent.DuplicateRegistrationException
Register this MIB

Throws:
org.snmp4j.agent.DuplicateRegistrationException

agentUnregisterMibs

protected void agentUnregisterMibs()
Unregister this MIB


registerMOs

public void registerMOs(org.snmp4j.agent.MOServer server,
                        org.snmp4j.smi.OctetString context)
                 throws org.snmp4j.agent.DuplicateRegistrationException
Specified by:
registerMOs in interface org.snmp4j.agent.MOGroup
Throws:
org.snmp4j.agent.DuplicateRegistrationException

unregisterMOs

public void unregisterMOs(org.snmp4j.agent.MOServer server,
                          org.snmp4j.smi.OctetString context)
Specified by:
unregisterMOs in interface org.snmp4j.agent.MOGroup

changeStatus

public void changeStatus(GgPrivateMib.OperStatus status)
Change the status and the LastChange Timeticks

Parameters:
status -


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.