Commit 01bb5d56 authored by Jan Koester's avatar Jan Koester
Browse files

bugfix

parent a1805972
Loading
Loading
Loading
Loading
+1 −1
Changes for mibs/SNMPDD-MIB.txt: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ sumProblems OBJECT-TYPE
    SYNTAX      DisplayString
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION "What could not be collected (storaged or syslite not reachable), separated by "; "."
    DESCRIPTION "What could not be collected (storaged or syslite not reachable), separated by semicolons."
    ::= { snmpddSummary 4 }
sumRaidArrays OBJECT-TYPE
    SYNTAX      Integer32
+3 −1
Changes for tools/mkmib.py: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ SUMMARY = [
    ('HostName', T, 'Host name of the system.'),
    ('Status', S, 'The worst status of all rows of the report; unknown if something could not be collected.'),
    ('ReportTime', 'Unsigned32', 'When the report was collected, in seconds since 1970-01-01 UTC.'),
    ('Problems', T, 'What could not be collected (storaged or syslite not reachable), separated by "; ".'),
    ('Problems', T, 'What could not be collected (storaged or syslite not reachable), separated by semicolons.'),
    ('RaidArrays', 'Integer32', 'Rows of raidTable.'),
    ('RaidProblems', 'Integer32', 'Rows of raidTable with status warning or critical.'),
    ('VolumeGroups', 'Integer32', 'Rows of vgTable.'),
@@ -182,6 +182,8 @@ snmpddSummary OBJECT IDENTIFIER ::= { snmpddObjects 1 }


def scalar(name, syn, desc, parent, n):
    # SMI: no double quote inside a DESCRIPTION string
    assert '"' not in desc, name
    w(f'''{name} OBJECT-TYPE
    SYNTAX      {syn}
    MAX-ACCESS  accessible-for-notify