public class NotificationLogMib extends Object implements MOGroup, NotificationLogListener, RowStatusListener
Modifier and Type | Class and Description |
---|---|
class |
NotificationLogMib.NlmConfigGlobalAgeOut |
class |
NotificationLogMib.NlmConfigGlobalEntryLimit |
static class |
NotificationLogMib.NlmConfigLogAdminStatusEnum |
class |
NotificationLogMib.NlmConfigLogEntryRow |
static class |
NotificationLogMib.NlmConfigLogOperStatusEnum |
class |
NotificationLogMib.NlmLogEntryRow |
class |
NotificationLogMib.NlmLogVariableEntryRow |
static class |
NotificationLogMib.NlmLogVariableValueTypeEnum |
class |
NotificationLogMib.NlmStatsLogEntryRow |
static class |
NotificationLogMib.Snmp4jNotificationLogModeEnum |
class |
NotificationLogMib.SnmpAdminString |
class |
NotificationLogMib.SnmpEngineID |
class |
NotificationLogMib.TAddress |
class |
NotificationLogMib.TDomain |
Modifier | Constructor and Description |
---|---|
protected |
NotificationLogMib()
Constructs a NotificationLogMib instance without actually creating its
ManagedObject instances. |
|
NotificationLogMib(MOFactory moFactory)
Constructs a NotificationLogMib instance and actually creates its
ManagedObject instances using the supplied
MOFactory (by calling
createMO(MOFactory moFactory) ). |
|
NotificationLogMib(MOFactory moFactory,
VACM vacm,
SnmpNotificationMIB snmpNotificationMIB) |
Modifier and Type | Method and Description |
---|---|
void |
addImportedTCsToFactory(MOFactory moFactory) |
protected void |
addTCsToFactory(MOFactory moFactory) |
protected void |
createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module
using the specified
MOFactory . |
int |
getLogMode()
Returns the current log mode as defined by #Snmp4jNotificationLogModeEnum.
|
MOScalar<org.snmp4j.smi.UnsignedInteger32> |
getNlmConfigGlobalAgeOut() |
MOScalar<org.snmp4j.smi.UnsignedInteger32> |
getNlmConfigGlobalEntryLimit() |
MOTable<NotificationLogMib.NlmConfigLogEntryRow,MOColumn,MOTableModel<NotificationLogMib.NlmConfigLogEntryRow>> |
getNlmConfigLogEntry() |
MOTable |
getNlmLogEntry() |
MOTable |
getNlmLogVariableEntry() |
MOScalar<org.snmp4j.smi.Counter32> |
getNlmStatsGlobalNotificationsBumped() |
MOScalar<org.snmp4j.smi.Counter32> |
getNlmStatsGlobalNotificationsLogged() |
MOTable |
getNlmStatsLogEntry() |
void |
notificationLogEvent(NotificationLogEvent notificationLogEvent)
Process a notification log event.
|
void |
registerMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Registers the managed objects of this group with the server for the
supplied context.
|
void |
rowStatusChanged(RowStatusEvent event) |
void |
setLogMode(int loggerMode)
Sets the log mode of the events.
|
void |
unregisterMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Unregisters the managed objects of this group from the supplied server and
from the supplied context.
|
public static final org.snmp4j.smi.OID oidNotificationLogMib
public static final org.snmp4j.smi.OID oidNlmConfigGlobalEntryLimit
public static final org.snmp4j.smi.OID oidNlmConfigGlobalAgeOut
public static final org.snmp4j.smi.OID oidNlmStatsGlobalNotificationsLogged
public static final org.snmp4j.smi.OID oidNlmStatsGlobalNotificationsBumped
public static final org.snmp4j.smi.OID oidNlmConfigLogEntry
public static final org.snmp4j.smi.OID oidNlmLogName
public static final String tcModuleSnmpFrameworkMib
public static final String tcDefSnmpAdminString
public static final String tcModuleSNMPv2Tc
public static final String tcDefStorageType
public static final String tcDefRowStatus
public static final int colNlmConfigLogFilterName
public static final int colNlmConfigLogEntryLimit
public static final int colNlmConfigLogAdminStatus
public static final int colNlmConfigLogOperStatus
public static final int colNlmConfigLogStorageType
public static final int colNlmConfigLogEntryStatus
public static final int idxNlmConfigLogFilterName
public static final int idxNlmConfigLogEntryLimit
public static final int idxNlmConfigLogAdminStatus
public static final int idxNlmConfigLogOperStatus
public static final int idxNlmConfigLogStorageType
public static final int idxNlmConfigLogEntryStatus
public static final org.snmp4j.smi.OID oidNlmStatsLogEntry
public static final int colNlmStatsLogNotificationsLogged
public static final int colNlmStatsLogNotificationsBumped
public static final int idxNlmStatsLogNotificationsLogged
public static final int idxNlmStatsLogNotificationsBumped
public static final org.snmp4j.smi.OID oidNlmLogEntry
public static final org.snmp4j.smi.OID oidNlmLogIndex
public static final String tcDefTimeStamp
public static final String tcDefDateAndTime
public static final String tcDefSnmpEngineID
public static final String tcDefTAddress
public static final String tcDefTDomain
public static final int colNlmLogTime
public static final int colNlmLogDateAndTime
public static final int colNlmLogEngineID
public static final int colNlmLogEngineTAddress
public static final int colNlmLogEngineTDomain
public static final int colNlmLogContextEngineID
public static final int colNlmLogContextName
public static final int colNlmLogNotificationID
public static final int idxNlmLogTime
public static final int idxNlmLogDateAndTime
public static final int idxNlmLogEngineID
public static final int idxNlmLogEngineTAddress
public static final int idxNlmLogEngineTDomain
public static final int idxNlmLogContextEngineID
public static final int idxNlmLogContextName
public static final int idxNlmLogNotificationID
public static final org.snmp4j.smi.OID oidNlmLogVariableEntry
public static final org.snmp4j.smi.OID oidNlmLogVariableIndex
public static final int colNlmLogVariableID
public static final int colNlmLogVariableValueType
public static final int colNlmLogVariableCounter32Val
public static final int colNlmLogVariableUnsigned32Val
public static final int colNlmLogVariableTimeTicksVal
public static final int colNlmLogVariableInteger32Val
public static final int colNlmLogVariableOctetStringVal
public static final int colNlmLogVariableIpAddressVal
public static final int colNlmLogVariableOidVal
public static final int colNlmLogVariableCounter64Val
public static final int colNlmLogVariableOpaqueVal
public static final int idxNlmLogVariableID
public static final int idxNlmLogVariableValueType
public static final int idxNlmLogVariableCounter32Val
public static final int idxNlmLogVariableUnsigned32Val
public static final int idxNlmLogVariableTimeTicksVal
public static final int idxNlmLogVariableInteger32Val
public static final int idxNlmLogVariableOctetStringVal
public static final int idxNlmLogVariableIpAddressVal
public static final int idxNlmLogVariableOidVal
public static final int idxNlmLogVariableCounter64Val
public static final int idxNlmLogVariableOpaqueVal
public static final org.snmp4j.smi.OID oidSnmp4jNotificationLogMode
protected NotificationLogMib()
ManagedObject
instances. This has to be done in a
sub-class constructor or after construction by calling
createMO(MOFactory moFactory)
.public NotificationLogMib(MOFactory moFactory)
ManagedObject
instances using the supplied
MOFactory
(by calling
createMO(MOFactory moFactory)
).moFactory
- the MOFactory
to be used to create the
managed objects for this module.public NotificationLogMib(MOFactory moFactory, VACM vacm, SnmpNotificationMIB snmpNotificationMIB)
protected void createMO(MOFactory moFactory)
MOFactory
.moFactory
- the MOFactory
instance to use for object
creation.public MOScalar<org.snmp4j.smi.UnsignedInteger32> getNlmConfigGlobalEntryLimit()
public MOScalar<org.snmp4j.smi.UnsignedInteger32> getNlmConfigGlobalAgeOut()
public MOScalar<org.snmp4j.smi.Counter32> getNlmStatsGlobalNotificationsLogged()
public MOScalar<org.snmp4j.smi.Counter32> getNlmStatsGlobalNotificationsBumped()
public MOTable<NotificationLogMib.NlmConfigLogEntryRow,MOColumn,MOTableModel<NotificationLogMib.NlmConfigLogEntryRow>> getNlmConfigLogEntry()
public MOTable getNlmStatsLogEntry()
public MOTable getNlmLogEntry()
public MOTable getNlmLogVariableEntry()
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
MOGroup
registerMOs
in interface MOGroup
server
- the MOServer
where to register the managed objects.context
- the context to use (may be null
if no specific context
is selected).DuplicateRegistrationException
- if a managed object's scope (i.e. lower bound) is already registered
at the server.public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
MOGroup
unregisterMOs
in interface MOGroup
server
- the MOServer
where to unregister the managed objects.context
- the context to use (may be null
if no specific context
is selected).public void setLogMode(int loggerMode)
loggerMode
- 1 to set log mode to log fired notification events only,
2 to set log mode to log sent notifications only.public int getLogMode()
public void notificationLogEvent(NotificationLogEvent notificationLogEvent)
NotificationLogListener
notificationLogEvent
in interface NotificationLogListener
notificationLogEvent
- a NotificationLogEvent instance describing a notification.public void rowStatusChanged(RowStatusEvent event)
rowStatusChanged
in interface RowStatusListener
protected void addTCsToFactory(MOFactory moFactory)
public void addImportedTCsToFactory(MOFactory moFactory)
Copyright © 2018 SNMP4J.org. All rights reserved.