mibs/MIBS/fs/GBNPlatformOAMSyslog-MIB
2023-12-05 12:25:34 +01:00

435 lines
15 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

------------------------------------------------------------------------------
--
-- File : gbnPlatformOAMSyslog-MIB.mi2
-- Description : Syslog configuration MIB
-- Version : 1.0
-- Date : Oct 10, 2004
-- Author : wukaijian
-- Copyright (c) 2001-2008 admin Co. Ltd. All Rights Reserved.
--
------------------------------------------------------------------------------
GBNPlatformOAMSyslog-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
Counter32, Gauge32,
Unsigned32, Integer32,
IpAddress, NOTIFICATION-TYPE FROM SNMPv2-SMI
RowStatus, TruthValue,
DisplayString, MacAddress FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
snmpTraps FROM SNMPv2-MIB
gbnPlatformOAM FROM GBNPlatformOAM-MIB;
gbnPlatformOAMSyslog MODULE-IDENTITY
LAST-UPDATED "0410100000Z" -- October 10, 2004
ORGANIZATION "Admin Co. Ltd"
CONTACT-INFO "Admin Co. Ltd
E-mail: support@admin.com.cn"
DESCRIPTION "Syslog mib definition."
REVISION "0410100000Z" -- October 10, 2004
DESCRIPTION "Initial MIB creation."
::= { gbnPlatformOAM 9 }
syslogState OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"enable or disable Syslog."
--´ò¿ª»ò¹Ø±ÕSyslog¹¦ÄÜ¡£
::= { gbnPlatformOAMSyslog 1 }
syslogSeqNoEnable OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"display or not display sequence number in output messages."
--ÔÚÊä³öÐÅÏ¢ÖÐÏÔʾ»ò²»ÏÔʾÐòÁкš£
::= { gbnPlatformOAMSyslog 2 }
syslogTimestampType OBJECT-TYPE
SYNTAX INTEGER {
notime(1),
uptime(2),
datetime(3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"set timestamp type shown in output messages.
notime: not show timestamp;
uptime: show elapse time as timestamp;
datetime: show datetime as timestamp."
--ÅäÖÃÊä³öÐÅÏ¢ÖÐÏÔʾµÄʱ¼ä´ÁÀàÐÍ¡£
--notime: ²»ÏÔʾʱ¼ä´Á£»
--uptime: ÏÔʾ¿ª»úʱ¼ä×÷Ϊʱ¼ä´Á£»
--datetime: ÏÔʾ¾ø¶Ôʱ¼ä×÷Ϊʱ¼ä´Á¡£
::= { gbnPlatformOAMSyslog 3 }
syslogLanguageType OBJECT-TYPE
SYNTAX INTEGER {
english(1),
chinese(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"set language type used in output messages."
--ÅäÖÃÊä³öÐÅÏ¢ÖÐʹÓõÄÓïÑÔÀàÐÍ¡£
::= { gbnPlatformOAMSyslog 4 }
syslogFacility OBJECT-TYPE
SYNTAX INTEGER {
kernel(0),
userlevel(1),
mail(2),
system(3),
security1(4),
syslogd(5),
lineprinter(6),
networknews(7),
uucp(8),
clock1(9),
security2(10),
ftp(11),
ntp(12),
logaudit(13),
logalert(14),
clock2(15),
localuse0(16),
localuse1(17),
localuse2(18),
localuse3(19),
localuse4(20),
localuse5(21),
localuse6(22),
localuse7(23)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"set loghost facility code."
--ÅäÖÃÈÕÖ¾Ö÷»ú(Syslog·þÎñÆ÷)¼Ç¼¹¤¾ß´úºÅ¡£
::= { gbnPlatformOAMSyslog 5 }
syslogSourceIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"specify source address used in syslog.
0 means no source address used.
the ip address must belong to the device."
--Ö¸¶¨SyslogʹÓõĹ̶¨Ô´µØÖ·£¬·¢ÖÁSyslog·þÎñÆ÷µÄ±¨ÎĽ«Ê¹Óô˵ØÖ·×÷ΪԴµØÖ·¡£
--0´ú±í²»Ê¹Óù̶¨Ô´µØÖ·£¬´Ëʱϵͳ½«Ê¹Óóö½Ó¿ÚµÄµØÖ·×÷ΪԴµØÖ·¡£
--Ö¸¶¨µÄÔ´µØÖ·±ØÐëΪÉ豸ÉÏijһ½Ó¿ÚµÄµØÖ·£¬·ñÔòÉèÖò»³É¹¦¡£
::= { gbnPlatformOAMSyslog 6 }
syslogInfo OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..256))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"node that used to bind infomation to send trap by syslog."
--SyslogʹÓô˽ڵã°ó¶¨ÐÅÏ¢·¢ËÍTrap¡£
::= { gbnPlatformOAMSyslog 7 }
------------------------------------------------------------------------------
-- syslogOutputDevInfoTable:
------------------------------------------------------------------------------
syslogOutputDevInfoTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogOutputDevInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog output device infomation table."
--SyslogÊä³öÉ豸ÐÅÏ¢±í¡£ÃèÊö¸÷Êä³ö·½ÏòµÄÏà¹ØÐÅÏ¢¡£
::= { gbnPlatformOAMSyslog 8 }
syslogOutputDevInfoEntry OBJECT-TYPE
SYNTAX SyslogOutputDevInfoEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog output device infomation entry."
--SyslogÊä³öÉ豸ÐÅÏ¢ÌõÄ¿¡£ÃèÊöijһÊä³ö·½ÏòµÄÏà¹ØÐÅÏ¢¡£
INDEX { syslogOutputDevInfoName }
::= { syslogOutputDevInfoTable 1 }
SyslogOutputDevInfoEntry ::=
SEQUENCE {
syslogOutputDevInfoName
OCTET STRING,
syslogOutputDevInfoSwitch
INTEGER,
syslogOutputDevInfoLogged
Gauge32,
syslogOutputDevInfoDiscard
Gauge32,
syslogOutputDevInfoOverflow
Gauge32
}
syslogOutputDevInfoName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"output device name."
--Êä³öÉ豸Ãû¡£
--É豸ÃûÓÉϵͳָ¶¨£¬Óû§²»¿ÉÉèÖá£
--Êä³öÉ豸°üÀ¨¿ØÖÆ̨¡¢TelnetÖնˡ¢ÀúÊ·»º³åÇø¡¢Flash´æ´¢Æ÷¡¢ÈÕÖ¾Ö÷»úºÍSNMP Agent¡£
--³ýÈÕÖ¾Ö÷»ú£¨Syslog·þÎñÆ÷£©Í⣬ÆäËûÊä³öÉ豸ʹÓù̶¨µÄÃû×Ö¡£ÈÕÖ¾Ö÷»úʹÓÃIPµØÖ·×÷Ϊ
--ÆäÉ豸Ãû£¬Óû§ÒÑÅäÖõÄÈÕÖ¾Ö÷»úÏÔʾÔÚ±íÖУ¬Î´ÅäÖõIJ»ÏÔʾ¡£Óû§¿Éͨ¹ýÃüÁîÐлòÕß
--MIB±ísyslogLoghostAddrTableÅäÖÃÈÕÖ¾Ö÷»úµØÖ·¡£
::= { syslogOutputDevInfoEntry 1 }
syslogOutputDevInfoSwitch OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"output device switch."
--Êä³öÉ豸ÐÅÏ¢¿ª¹Ø¡£ÅäÖÃÊÇ·ñÔÊÐíÐÅÏ¢Êä³öÖÁ¸Ã·½Ïò¡£
::= { syslogOutputDevInfoEntry 2 }
syslogOutputDevInfoLogged OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"number of messages logged in this output device."
--¸ÃÊä³ö·½ÏòÒѼǼµÄÐÅÏ¢¸öÊý¡£
--ϵͳͳ¼ÆÐÅÏ¢£¬Óû§²»¿ÉÅäÖá£
::= { syslogOutputDevInfoEntry 3 }
syslogOutputDevInfoDiscard OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"number of messages discard in this output device."
--¸ÃÊä³ö·½ÏòÒѶªÆúµÄÐÅÏ¢¸öÊý¡£
--ϵͳͳ¼ÆÐÅÏ¢£¬Óû§²»¿ÉÅäÖá£
::= { syslogOutputDevInfoEntry 4 }
syslogOutputDevInfoOverflow OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"number of messages overflowed in this output device."
--¸ÃÊä³ö·½ÏòÒѸ²¸ÇµÄÐÅÏ¢¸öÊý¡£
--ϵͳͳ¼ÆÐÅÏ¢£¬Óû§²»¿ÉÅäÖá£
::= { syslogOutputDevInfoEntry 5 }
------------------------------------------------------------------------------
-- syslogLoghostAddrTable:
------------------------------------------------------------------------------
syslogLoghostAddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogLoghostAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"loghost address table."
--ÈÕÖ¾Ö÷»úµØÖ·±í¡£¼Ç¼ÒÑÅäÖõÄÈÕÖ¾Ö÷»úÌõÄ¿¡£
::= { gbnPlatformOAMSyslog 9 }
syslogLoghostAddrEntry OBJECT-TYPE
SYNTAX SyslogLoghostAddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"loghost address entry."
--ÈÕÖ¾Ö÷»úµØÖ·ÌõÄ¿¡£¼Ç¼ÒÑÅäÖõÄÈÕÖ¾Ö÷»ú¡£
INDEX { syslogLoghostAddrIp }
::= { syslogLoghostAddrTable 1 }
SyslogLoghostAddrEntry ::=
SEQUENCE {
syslogLoghostAddrIp
IpAddress,
syslogLoghostAddrRowstatus
RowStatus
}
syslogLoghostAddrIp OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"loghost ip address."
--ÈÕÖ¾Ö÷»úIPµØÖ·¡£
--Óû§¿ÉÌí¼Ó»òÕßɾ³ýÈÕÖ¾Ö÷»ú¡£
::= { syslogLoghostAddrEntry 1 }
syslogLoghostAddrRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"row status."
--ÐÐ״̬¡£
--Ìí¼ÓÈÕÖ¾Ö÷»úʱ£¬±ØÐëÊ×ÏÈÉèÖÃÈÕÖ¾Ö÷»úµØÖ·£¬´ËʱÐÐ״̬×Ô¶¯ÉèΪnotInService(2)£¬
--È»ºóÉèÖÃÐÐ״̬ΪcreateAndGo(4)»òÕßcreateAndWait(5)¡£
--ɾ³ýÈÕÖ¾Ö÷»úʱ£¬Ö»Ð轫ÐÐ״̬ÉèÖÃΪdestroy(6)¼´¿É¡£
::= { syslogLoghostAddrEntry 2 }
------------------------------------------------------------------------------
-- syslogFilterRuleTable:
------------------------------------------------------------------------------
syslogFilterRuleTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogFilterRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog filter rule table."
--Syslog¹ýÂ˹æÔò±í¡£
::= { gbnPlatformOAMSyslog 10 }
syslogFilterRuleEntry OBJECT-TYPE
SYNTAX SyslogFilterRuleEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog filter rule entry."
--Syslog¹ýÂ˹æÔòÌõÄ¿¡£
INDEX { syslogFilterRuleDevname, syslogFilterRuleModname }
::= { syslogFilterRuleTable 1 }
SyslogFilterRuleEntry ::=
SEQUENCE {
syslogFilterRuleDevname
OCTET STRING,
syslogFilterRuleModname
OCTET STRING,
syslogFilterRuleLevelmask
BITS
}
syslogFilterRuleDevname OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"output device name."
--Êä³öÉ豸Ãû¡£
--É豸ÃûÓÉϵͳָ¶¨£¬Óû§²»¿ÉÉèÖá£
--Êä³öÉ豸°üÀ¨¿ØÖÆ̨¡¢TelnetÖնˡ¢ÀúÊ·»º³åÇø¡¢Flash´æ´¢Æ÷¡¢ÈÕÖ¾Ö÷»úºÍSNMP Agent¡£
--³ýÈÕÖ¾Ö÷»ú£¨Syslog·þÎñÆ÷£©Í⣬ÆäËûÊä³öÉ豸ʹÓù̶¨µÄÃû×Ö¡£ÈÕÖ¾Ö÷»úʹÓÃIPµØÖ·×÷Ϊ
--ÆäÉ豸Ãû£¬Óû§ÒÑÅäÖõÄÈÕÖ¾Ö÷»úÏÔʾÔÚ±íÖУ¬Î´ÅäÖõIJ»ÏÔʾ¡£Óû§¿Éͨ¹ýÃüÁîÐлòÕß
--MIB±ísyslogLoghostAddrTableÅäÖÃÈÕÖ¾Ö÷»úµØÖ·¡£
::= { syslogFilterRuleEntry 1 }
syslogFilterRuleModname OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"module name."
--Ä£¿éÃû¡£
--Óû§²»¿ÉÉèÖã¬ÓÉϵͳ¸ù¾ÝϵͳÖÐÒÑÓеÄÄ£¿éÏÔʾ¡£
::= { syslogFilterRuleEntry 2 }
syslogFilterRuleLevelmask OBJECT-TYPE
SYNTAX BITS
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"a 8 bits mask used to decide whether the infomation output to the device.
every bit corresponds to a level, 1 means output allowed."
--Ò»¸ö8λµÄÑÚÂ룬¾ö¶¨ÐÅÏ¢ÊÇ·ñÊä³öµ½Ä³Ò»É豸¡£
--ÿһλ¶ÔÓ¦Ò»¸öÐÅÏ¢¼¶±ð£¬¸ÃλΪ1Ôò¸Ã¼¶±ðÐÅÏ¢ÔÊÐíÊä³öµ½É豸¡£
--µÚ0ÖÁ7루×îµÍλλµÚ0룩·Ö±ð¶ÔÓ¦µÄÐÅÏ¢¼¶±ðΪ£ºemergencies£¬alerts£¬critical£¬
--errors£¬warnings£¬notifications£¬informational£¬debugging¡£
::= { syslogFilterRuleEntry 3 }
------------------------------------------------------------------------------
-- syslogDbgTable:
------------------------------------------------------------------------------
syslogDbgTable OBJECT-TYPE
SYNTAX SEQUENCE OF SyslogDbgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog debug switch table."
--Syslogµ÷ÊÔ¿ª¹Ø״̬±í¡£
::= { gbnPlatformOAMSyslog 11 }
syslogDbgEntry OBJECT-TYPE
SYNTAX SyslogDbgEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"syslog debug switch entry."
--Syslogµ÷ÊÔ¿ª¹Ø״̬ÌõÄ¿¡£
INDEX { syslogDbgModname }
::= { syslogDbgTable 1 }
SyslogDbgEntry ::=
SEQUENCE {
syslogDbgModname
OCTET STRING,
syslogDbgState
INTEGER
}
syslogDbgModname OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"module name."
--Ä£¿éÃû¡£
--Óû§²»¿ÉÉèÖã¬ÓÉϵͳ¸ù¾ÝϵͳÖÐÒÑÓеÄÄ£¿éÏÔʾ¡£
::= { syslogDbgEntry 1 }
syslogDbgState OBJECT-TYPE
SYNTAX INTEGER {
enable(1),
disable(2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"debug switch state."
--µ÷ÊÔ¿ª¹Ø״̬¡£Óû§¿É´ò¿ª»ò¹Ø±ÕÄ£¿éµÄµ÷ÊÔ¿ª¹Ø¡£
::= { syslogDbgEntry 2 }
------------------------------------------------------------------------------
-- syslogTrap:
------------------------------------------------------------------------------
syslogTrap NOTIFICATION-TYPE
OBJECTS { syslogInfo }
STATUS current
DESCRIPTION
"trap node that used to send syslog messages."
--·¢ËÍSyslogÐÅÏ¢µÄTrap½Úµã¡£
::= { gbnPlatformOAMSyslog 12 }
END