2 -- OK: Everything is fine
4 -- iso.org.dod.internet.private.enterprise (1.3.6.1.4.1)
5 -- .spelio.software.asn1c.test (9363.1.5.1)
9 { iso org(3) dod(6) internet (1) private(4) enterprise(1)
10 spelio(9363) software(1) asn1c(5) test(1) 42 }
11 DEFINITIONS EXTENSIBILITY IMPLIED ::=
15 * A package representing a distinguished log line.
17 * - a digest of that line (actually, a normalized
18 * form with bells (\007) in place of variable components),
19 * - one or more sets of variable parts (presumably with different
20 * acceptability rules).
22 LogLine ::= SEQUENCE {
23 line-digest IA5String, -- Log line normal form
24 varsets SEQUENCE SIZE(1..MAX) OF VariablePartSet
28 * This package contains a set of variable components of a log line.
29 * Each variable component may contain one or more "value samples",
30 * or a range between two samples.
32 VariablePartSet ::= SEQUENCE {
33 vparts SEQUENCE SIZE(0..MAX) OF VariablePart, -- {123,321}
38 * A description of a single variable part.
40 VariablePart ::= CHOICE {
41 -- A set of acceptable values
42 vset SET SIZE(1..MAX) OF VisibleString,
43 -- A range of acceptable values
51 * What to do with the log line.
53 ActionItem ::= SEQUENCE {
54 accept-as ENUMERATED {
55 unknown, -- Action yet unknown.
56 safe, -- No action, just move on.
57 unsafe, -- Unsafe message. Inform NOC.
60 notify SEQUENCE { -- How to notify NOC.
61 critical BOOLEAN, -- Emit critical message
62 email SET OF VisibleString, -- Send emails