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
|
THREADING-MIB DEFINITIONS ::= BEGIN
------------------------------------------------------------------------
-- MIB for python-netsnmpagent's example threading_agent.py
-- Copyright (c) 2012-2016 Pieter Hollants <pieter@hollants.com>
-- Licensed under the GNU Lesser Public License (LGPL) version 3
------------------------------------------------------------------------
-- Imports
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
Integer32, Unsigned32, Counter32, Counter64, TimeTicks, IpAddress,
enterprises
FROM SNMPv2-SMI
TEXTUAL-CONVENTION, DisplayString
FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
FROM SNMPv2-CONF
agentxObjects
FROM AGENTX-MIB;
-- Description and update information
threadingMIB MODULE-IDENTITY
LAST-UPDATED "201307070000Z"
ORGANIZATION "N/A"
CONTACT-INFO
"Editor:
Pieter Hollants
EMail: <pieter@hollants.com>"
DESCRIPTION
"A MIB for python-netsnmpagent's example threading_agent.py"
REVISION "201307070000Z"
DESCRIPTION
"First version."
::= { agentxObjects 101 }
-- Definition of a generic ThreadingNotificationStatus type
ThreadingNotificationStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Indicates the enabling or disabling of a particular class of
notifications."
SYNTAX INTEGER {
disabled (0), -- This class of notifications is disabled
enabled (1) -- This class of notifications is enabled
}
-- Definition of MIB's root nodes
threadingMIBObjects OBJECT IDENTIFIER ::= { threadingMIB 1 }
threadingMIBNotifications OBJECT IDENTIFIER ::= { threadingMIB 2 }
threadingMIBConformance OBJECT IDENTIFIER ::= { threadingMIB 3 }
threadingScalars OBJECT IDENTIFIER ::= { threadingMIBObjects 1 }
------------------------------------------------------------------------
-- Scalars
------------------------------------------------------------------------
threadingString OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A string. Curious about its contents?"
::= { threadingScalars 1 }
------------------------------------------------------------------------
-- Notifications
------------------------------------------------------------------------
events OBJECT IDENTIFIER ::= { threadingMIBNotifications 0 }
operation OBJECT IDENTIFIER ::= { threadingMIBNotifications 1 }
threadingStringChange NOTIFICATION-TYPE
OBJECTS {
threadingString
}
STATUS current
DESCRIPTION
"A threadingStringChange notification signifies that there has
been a change to the value of threadingString."
::= { events 1 }
threadingStringChangeNotificationsEnabled OBJECT-TYPE
SYNTAX ThreadingNotificationStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Controls whether threadingStringChange notifications are
enabled or disabled."
::= { operation 1 }
------------------------------------------------------------------------
-- Conformance
------------------------------------------------------------------------
threadingMIBGroups OBJECT IDENTIFIER ::= { threadingMIBConformance 1 }
threadingMIBScalarsGroup OBJECT-GROUP
OBJECTS {
threadingString,
threadingStringChangeNotificationsEnabled
}
STATUS current
DESCRIPTION
"A collection of objects related to threadingScalars."
::= { threadingMIBGroups 1 }
threadingMIBScalarsNotificationsGroup NOTIFICATION-GROUP
NOTIFICATIONS {
threadingStringChange
}
STATUS current
DESCRIPTION
"The notifications which indicate specific changes in
threadingScalars."
::= { threadingMIBGroups 2 }
END
|