1mdlogd(1M) System Administration Commands mdlogd(1M)
2
3
4
6 mdlogd - Solaris Volume Manager daemon
7
9 mdlogd
10
11
13 mdlogd implements a simple daemon that watches the system console look‐
14 ing for messages written by the Solaris Volume Manger. When a Solaris
15 Volume Manager message is detected, mdlogd sends a generic SNMP trap.
16
17
18 To enable traps, you must configure mdlogd into the SNMP framework. See
19 .
20
22 mdlogd implements the following SNMP MIB:
23
24 SOLARIS-VOLUME-MGR-MIB DEFINITIONS ::= BEGIN
25 IMPORTS
26 enterprises FROM RFC1155-SMI
27 DisplayString FROM SNMPv2-TC;
28
29 -- Sun Private MIB for Solaris Volume Manager
30
31
32 sun OBJECT IDENTIFIER ::= { enterprises 42 }
33 sunSVM OBJECT IDENTIFIER ::= { sun 104 }
34
35 -- this is actually just the string from /dev/log that
36 -- matches the md: regular expressions.
37 -- This is an interim SNMP trap generator to provide
38 -- information until a more complete version is available.
39
40 -- this definition is a formalization of the old
41 -- Solaris DiskSuite mdlogd trap mib.
42
43 svmOldTrapString OBJECT-TYPE
44 SYNTAX DisplayString (SIZE (0..255))
45 ACCESS read-only
46 STATUS mandatory
47 DESCRIPTION
48 "This is the matched string that
49 was obtained from /dev/log."
50 ::= { sunSVM 1 }
51
52 -- SVM Compatibility ( error trap )
53
54 svmNotice TrapTRAP-TYPE
55 ENTERPRISE sunSVM
56 VARIABLES { svmOldTrapString }
57 DESCRIPTION
58 "SVM error log trap for NOTICE.
59 This matches 'NOTICE: md:'"
60 ::= 1
61
62 svmWarningTrap TRAP-TYPE
63 ENTERPRISE sunSVM
64 VARIABLES { svmOldTrapString }
65 DESCRIPTION
66 "SVM error log trap for WARNING..
67 This matches 'WARNING: md:'"
68 ::= 2
69
70 svmPanicTrap TRAP-TYPE
71 ENTERPRISE sunSVM
72 VARIABLES { svmOldTrapString }
73 DESCRIPTION
74 "SVM error log traps for PANIC..
75 This matches 'PANIC: md:'"
76 ::= 3
77 END
78
79
81 See attributes(5) for descriptions of the following attributes:
82
83
84
85
86 ┌─────────────────────────────┬─────────────────────────────┐
87 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
88 ├─────────────────────────────┼─────────────────────────────┤
89 │Availability │SUNWlvma, SUNWlvmr │
90 ├─────────────────────────────┼─────────────────────────────┤
91 │Interface Stability │Obsolete │
92 └─────────────────────────────┴─────────────────────────────┘
93
95 snmpdx(1M), attributes(5)
96
97
98
99
100
101
102SunOS 5.11 3 Jun 2004 mdlogd(1M)