oriSystemEventLogMask

ORiNOCO-MIB · .1.3.6.1.4.1.11898.2.1.1.13

Object

scalar r/w SNMPv2-SMIInteger32
This object is used to control what events will be logged by
the event log facility. It is a mask, each bit is used to 
enable/disable a corresponding set of log messages.
          
The OR2000 uses the standard syslog priorities and facilities.
The Mask should only be set to mask specific facilities.
The facilities are:
	LOG_KERN	    (0<<3)	kernel messages
	LOG_USER	    (1<<3)	random user-level messages
	LOG_MAIL	    (2<<3)	mail system
	LOG_DAEMON	    (3<<3)	system daemons
	LOG_AUTH	    (4<<3)	authorization messages
	LOG_SYSLOG	    (5<<3)	messages generated internally by syslogd
	LOG_LPR		    (6<<3)	line printer subsystem
	LOG_NEWS	    (7<<3)	network news subsystem
	LOG_UUCP	    (8<<3)	UUCP subsystem
	LOG_CRON	    (9<<3)	clock daemon
	LOG_AUTHPRIV	(10<<3)	authorization messages (private)
	LOG_FTP		    (11<<3)	ftp daemon
	LOG_NTP		    (12<<3)	NTP subsystem
	LOG_SECURITY	(13<<3) security subsystems (firewalling, etc.)
	LOG_CONSOLE	    (14<<3) /dev/console output
          
    - other codes through 15 reserved for system use
          
	LOG_LOCAL0	    (16<<3)	reserved for local use
	LOG_LOCAL1	    (17<<3)	reserved for local use
	LOG_LOCAL2	    (18<<3)	reserved for local use
	LOG_LOCAL3  	(19<<3)	reserved for local use
	LOG_LOCAL4	    (20<<3)	reserved for local use
	LOG_LOCAL5	    (21<<3)	reserved for local use
	LOG_LOCAL6	    (22<<3)	reserved for local use
	LOG_LOCAL7	    (23<<3)	reserved for local use
          
On the BG2000:
Each nibble (4 bits == 1 hex digit == a nibble) represents a
category of log messages. There are 4 levels of messages per
category (1 bit per level per category). The least significant
bit is a higher priority message.
As follows:
    security - nibble 1, bits 1-4
	errors - nibble 2, bits 5-8
	system startup - nibble 3, bits 9-12
	warnings - nibble 4, bits 13-16
	information - nibble 5, bits 17-20
          
    0x00000 - No events will be logged.
    0x000F0 - Only errors will be logged.
    0x0F0F0 - Warnings and errors will be logged.
    0xFFFFF - All events will be logged.

Context

MIB
ORiNOCO-MIB
OID
.1.3.6.1.4.1.11898.2.1.1.13
Type
scalar
Access
readwrite
Status
current
Parent
orinocoSys
Siblings
21

Syntax

SNMPv2-SMIInteger32
Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Related Objects

Sibling Objects