1-- This file is corresponding to Release 9.1.10.101 from 2014/08/11 00:00:00
2
3
4---------------------------------------------------------------------------
5-- (C)opyright 2011-2014 bintec elmeg GmbH
6-- $RCSfile: mib-sensor,v $
7-- $Revision: 1.5 $
8-- $Date: 2014-02-07 10:37:49 $
9---------------------------------------------------------------------------
10
11BINTEC-SENSOR-MIB DEFINITIONS ::= BEGIN
12
13IMPORTS
14    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
15    Unsigned32,
16    mib-2, enterprises
17        FROM SNMPv2-SMI
18
19    DisplayString, TimeStamp, TruthValue
20        FROM SNMPv2-TC
21
22    sys, Date
23	FROM BINTEC-MIB
24
25    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
26        FROM SNMPv2-CONF;
27
28
29---------------------------------------------------------------------------
30
31sensorMIB MODULE-IDENTITY
32    LAST-UPDATED "201103161000Z"
33    ORGANIZATION "bintec elmeg GmbH"
34    CONTACT-INFO
35            "EMail:   info@bintec-elmeg.com
36	     Web:     www.bintec-elmeg.com
37	    "
38    DESCRIPTION
39            "The MIB module for sensor specifics.
40            "
41
42    ::= { sys 7 }
43
44---------------------------------------------------------------------------
45-- OID groups & all tables
46---------------------------------------------------------------------------
47sensor	OBJECT IDENTIFIER	::= { sensorMIB 1 }
48
49---------------------------------------------------------------------------
50
51sensorTable OBJECT-TYPE
52    SYNTAX      SEQUENCE OF SensorEntry
53    MAX-ACCESS  not-accessible
54    STATUS      current
55    DESCRIPTION
56        "This table contains all sensors of the system."
57    ::= { sensor 1 }
58
59    sensorEntry OBJECT-TYPE
60        SYNTAX          SensorEntry
61        MAX-ACCESS      not-accessible
62        STATUS          current
63        DESCRIPTION
64            ""
65        INDEX { sensorSlot, sensorNumber }
66        ::= { sensorTable 1 }
67
68    SensorEntry ::= SEQUENCE {
69        sensorSlot            Unsigned32,
70        sensorNumber          Unsigned32,
71	sensorDescr	      DisplayString,
72	sensorType	      INTEGER,
73	sensorValue	      INTEGER,
74	sensorMeasurementUnit DisplayString
75    }
76
77    sensorSlot OBJECT-TYPE
78        SYNTAX          Unsigned32
79        MAX-ACCESS      read-only
80        STATUS          current
81        DESCRIPTION
82            "Slot where sensor is placed."
83        ::= { sensorEntry 1 }
84
85    sensorNumber OBJECT-TYPE
86        SYNTAX          Unsigned32
87        MAX-ACCESS      read-only
88        STATUS          current
89        DESCRIPTION
90            "A unique number for a sensor in the slot."
91        ::= { sensorEntry 2 }
92
93    sensorDescr OBJECT-TYPE
94        SYNTAX          DisplayString
95        MAX-ACCESS      read-only
96        STATUS          current
97        DESCRIPTION
98            "Decscription of sensor."
99        ::= { sensorEntry 3 }
100
101    sensorType OBJECT-TYPE
102        SYNTAX          INTEGER {
103	    temperature(1),
104	    fanspeed(2),
105	    voltage(3)
106	}
107        MAX-ACCESS      read-only
108        STATUS          current
109        DESCRIPTION
110            "Type of sensor."
111        ::= { sensorEntry 4 }
112
113    sensorValue OBJECT-TYPE
114        SYNTAX          INTEGER
115        MAX-ACCESS      read-only
116        STATUS          current
117        DESCRIPTION
118            "Current value of sensor."
119        ::= { sensorEntry 5 }
120
121-- ::= { sensorEntry 6 } skipped for later enhancement
122
123    sensorMeasurementUnit OBJECT-TYPE
124        SYNTAX          DisplayString
125        MAX-ACCESS      read-only
126        STATUS          current
127        DESCRIPTION
128            "Unit of Value."
129        ::= { sensorEntry 7 }
130
131---------------------------------------------------------------------------
132END
133