1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
-- *****************************************************************
-- ADISCON-MONITORWARE-MIB.txt: Adiscon Monitorware message MIB file
--
-- March 2008, Andre Lorbach
--
-- Copyright (c) 2008 by Adiscon GmbH
-- All rights reserved.
-- *****************************************************************
--
-- This MIB defines traps and variables to wrap syslog messages into
-- snmp traps.
ADISCON-MONITORWARE-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises,
MODULE-IDENTITY, OBJECT-TYPE, Integer32,
NOTIFICATION-TYPE FROM SNMPv2-SMI,
adiscon FROM ADISCON-MIB
;
monitorware MODULE-IDENTITY
LAST-UPDATED "200803040000Z"
ORGANIZATION "www.adiscon-com"
CONTACT-INFO
"postal: Adiscon GmbH
Mozartstrasse 21
D-97950 Großrinderfeld
Deutschland
email: info@adiscon.com"
DESCRIPTION
"This MIB defines traps and variables to wrap syslog messages into snmp traps."
REVISION "200803040000Z"
DESCRIPTION
"First draft"
::= { adiscon 1 }
-- Printable string, using the ISO 8859-1 character set.
DisplayString ::= OCTET STRING (SIZE (0..255))
--
--
-- top level structure
--
-- adiscon OBJECT IDENTIFIER ::= { enterprises 19406 }
monitorware OBJECT IDENTIFIER ::= { adiscon 1 }
monitorwarevars OBJECT IDENTIFIER ::= { monitorware 1 }
monitorwaretraps OBJECT IDENTIFIER ::= { monitorware 2 }
-- *****************************************************************
-- Trap variables
-- *****************************************************************
syslogMsg OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Syslog Message, this will contain the full
syslog message including the full syslog header"
::= { monitorwarevars 1 }
syslogSeverity OBJECT-TYPE
SYNTAX INTEGER {
emergency (0),
alert (1),
critical (2),
error (3),
warning (4),
notice (5),
info (6),
debug (7)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Syslog severity(priority)."
::= { monitorwarevars 2 }
syslogFacility OBJECT-TYPE
SYNTAX INTEGER {
kern (0),
user (1),
mail (2),
daemon (3),
auth (4),
syslog (5),
lpr (6),
news (7),
uucp (8),
cron (9),
local0 (16),
local1 (17),
local2 (18),
local3 (19),
local4 (20),
local5 (21),
local6 (22),
local7 (23)
}
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Syslog facility."
::= { monitorwarevars 3 }
-- *****************************************************************
-- Trap definitions
-- *****************************************************************
syslogtrap NOTIFICATION-TYPE
OBJECTS { syslogMsg,
syslogSeverity,
syslogFacility
}
STATUS current
DESCRIPTION
"Syslogmessage Trap from monitorware."
::= { monitorwaretraps 1 }
END
|