A Management Information Base (MIB) describes the attributes of the managed resource in a way that an SNMP management system can understand. An SNMP MIB must be written in Abstract Notation One (ASN.1) and be formatted in conformity with the SNMP standards. Two MIB are files provided with Log Central that contain information for managing Log Central. These files fully conform to the SNMP standard and are ready for loading into your SNMP manager.
This appendix provides a detailed description of the MIBs that are supported by the SNMP agents shipped with Log Central. The following are included:
The Log Central Traps ( Each SNMP trap has a header and body (called variable bindings). The objects in this MIB specify the objects (and their values) that are sent in the variable binding of SNMP traps generated by Log Central. So when a trap is received by an SNMP Manager, it has more information about the condition that generated the trap.
The SNMP Traps MIB contains only the
Log Central Traps MIB
beaTrap
) MIB, found in the file bea_lc_trap.asn1
, contains Log Central attributes that are used as variables in the traps.
beaTrap
group.
beaTrapLcLogLevel
Syntax
INTEGER { normal(78), verbose(86), debug(68), special(83) }Access
read-only
Description
This object contains the log level of the message for which the SNMP trap was generated.
Syntax
OCTET STRINGAccess
read-only
Description
This object contains the generation time of the message for which the SNMP trap was generated.
Syntax
OCTET STRINGAccess
read-only
Description
This object contains the originating subsystem name of the message for which the SNMP trap was generated.
Syntax
INTEGERAccess
read-only
Description
This object contains the message ID of the message for which the SNMP trap was generated.
Syntax
OCTET STRINGAccess
read-only
Description
This object contains the originating host name of the message for which the SNMP trap was generated.
Syntax
INTEGERAccess
read-only
Description
This object contains the process ID of the message for which the SNMP trap was generated.
Syntax
OCTET STRINGAccess
read-only
Description
This object contains the user ID responsible for the message for which the SNMP trap was generated.
Syntax
OCTET STRINGAccess
read-only
Description
This object contains the function name that generated the message for which the SNMP trap was generated.
Syntax
OCTET STRINGAccess
read-only
Description
This object contains the transaction key (if the originating process was in the context of a transaction) of the message for which the SNMP trap was generated.
Syntax
INTEGERAccess
read-only
Description
This object is currently unused.
Syntax
INTEGER { informational(1), warning(2), minor(3), major(4), critical(5) unknown(100) }Access
read-only
Description
This object contains the severity of the message for which the SNMP trap was generated. This is known for traps generated by the message processor on the central host only.
Syntax
OCTET STRINGAccess
read-only
Description
This object contains the body of the message for which the SNMP trap was generated.
The Process Monitor (beaPm
) MIB, found in the BEA Manager MIB file (bea.asn1
), defines objects that support the Log Central Process Monitor. This MIB group is supported by the pm_snmpd
SMUX subagent provided with the Agent Integrator.
Syntax
DisplayString
Access
read-only
Description
This object contains the environment variable specifying the interprocess communication (IPC) key used for the BEA Manager
proc_monitor
.
Syntax
Integer
Access
read-only
Description
This object contains the process ID of
proc_monitor
.
Syntax
Integer
Access
read-write
Description
This object contains the wakeup interval of
proc_monitor
.
Syntax
Integer
Access
read-only
Description
This object contains the timestamp for the last wakeup of
proc_monitor
, measured from some epoch. Becauseproc_monitor
monitors all other processes and is a single point of failure, this object is created to monitor theproc_monitor
process from the SNMP manager and restart it if necessary.
Syntax
Integer
Access
read-write
Description
This object contains the maximum number of times a process may be restarted by
proc_monitor
within the time specified by thebeaPmMaxProcRestartsIntvl
object beforeproc_monitor
stops restarting it and marks the process with a status of crashed.
Syntax
Integer
Access
read-write
Description
This object specifies the time interval during which a process can be restarted by
proc_monitor
before it is no longer restarted.
This object contains row entries. Each entry (row) in the beaPmProcTable
is a sequence of the following columnar objects. Each entry represents attributes of processes registered with the BEA Manager proc_monitor
.
Syntax
DisplayString
Access
read-only
Description
This object contains a name that uniquely identifies an entry in the table.
Syntax
Integer
Access
read-only
Description
This object contains the process ID of the registered process.
Syntax
Integer {uninitialized (1), running (2), restarted (3),
dead (4), unregistered (5), crashed (6) }Access
read-only
Description
This object contains the current status of the registered process. Processes are marked
unregistered
if they have died and are not to be restarted. A process is markeddead
ifproc_monitor
detected that it is no longer running. A process is markedrestarted
ifproc_monitor
restarted it. A process is markedcrashed
if it was restarted too many times in a specified interval of time.
Syntax
DisplayString
Access
read-only
Description
This object contains the time when the process first registered.
Syntax
DisplayString
Access
read-only
Description
This object contains the time when the process last registered.
Syntax
Integer {no (1), yes (2), nomore (3) }Access
read-only
Description
This object contains a flag to indicate if a process can be restarted by
proc_monitor
.
Syntax
DisplayString
Access
read-only
Description
This object contains the command to be executed by
proc_monitor
when restarting a process if this flag isyes
.
Syntax
Integer
Access
read-only
Description
This object contains the number of times this process has been restarted.
Syntax
DisplayString
Access
read-only
Description
This object contains the reference timestamp from which
proc_monitor
must determine if a process should be restarted or marked as crashed.
Syntax
Integer
Access
read-only
Description
This object contains the number of restarts that occurred since the
beaPmTblRefRestartTime
timestamp.
Syntax
DisplayString
Access
read-only
Description
This object contains the timestamp of the first restart of the process.
Syntax
DisplayString
Access
read-only
Description
This object contains the timestamp of the last restart of the process.
Syntax
Integer
Access
read-only
Description
This object contains the process user ID. This object is saved when the process registers so that the process can be set to the same user ID if it is restarted.
Syntax
Integer
Access
read-only
Description
This object contains the group ID of the owner of the process. This object is saved when the process registers so that the group ID can be set to the same value if the process is restarted.
Syntax
Integer
Access
read-only
Description
This object contains the effective user ID. This object is saved when the process registers so that the process can be set to the same value if it is restarted by
proc_monitor
.
Syntax
Integer
Access
read-only
Description
This object contains the effective group ID. This object is saved when the process registers so that the process can be set to the same value if it is restarted by
proc_monitor
.
Syntax
DisplayString
Access
read-only
Description
This object contains the software subsystem name of the process. This object is used for configuration management to ensure that a process is an execution of the correct version of the software.
Syntax
DisplayString
Access
read-only
Description
This object contains the software version of the process. This object is used for configuration management to ensure that a process is an execution of the correct version of the software.
Syntax
DisplayString
Access
read-only
Description
This object contains the software creation date of the process. This object is used for configuration management to ensure that a process is an execution of the correct version of the software.
Syntax
DisplayString
Access
read-only
Description
This object contains the software creation time of the process. This object is used for configuration management to ensure that a process is an execution of the correct version of the software.