From Tacky Sheep, 3 Years ago, written in Plain Text.
Embed
  1. MT151-MIB DEFINITIONS ::= BEGIN
  2.  
  3. IMPORTS
  4. --    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
  5. -- enterprises
  6. --        FROM SNMPv2-SMI
  7. --    DisplayString, TestAndIncr, TimeStamp
  8. --        FROM SNMPv2-TC
  9. --    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
  10. --        FROM SNMPv2-CONF;
  11.  
  12.         enterprises, IpAddress, Gauge
  13.                 FROM RFC1155-SMI
  14.         OBJECT-TYPE
  15.                 FROM RFC-1212
  16.         DisplayString
  17.                 FROM RFC1213-MIB
  18.         TRAP-TYPE
  19.                 FROM RFC-1215;
  20.  
  21.         inventia        OBJECT IDENTIFIER ::= { enterprises 42317 }
  22.  
  23.         mt151           OBJECT IDENTIFIER ::= { inventia 151 }
  24.  
  25.         info            OBJECT IDENTIFIER ::= { mt151 1 }
  26.  
  27.         infoModType OBJECT-TYPE
  28.                 SYNTAX DisplayString
  29.                 ACCESS read-only
  30.                 STATUS mandatory
  31.                 DESCRIPTION
  32.                         "Module type"
  33.                 ::= { info 1 }
  34.  
  35.         infoModSN OBJECT-TYPE
  36.                 SYNTAX DisplayString
  37.                 ACCESS read-only
  38.                 STATUS mandatory
  39.                 DESCRIPTION
  40.                         "Module serial number"
  41.                 ::= { info 2 }
  42.  
  43.         infoModFW OBJECT-TYPE
  44.                 SYNTAX DisplayString
  45.                 ACCESS read-only
  46.                 STATUS mandatory
  47.                 DESCRIPTION
  48.                         "Module firmware version"
  49.                 ::= { info 3 }
  50.  
  51.         state           OBJECT IDENTIFIER ::= { mt151 2 }
  52.  
  53.         stateUpTime OBJECT-TYPE
  54.                 SYNTAX INTEGER
  55.                 ACCESS read-only
  56.                 STATUS mandatory
  57.                 DESCRIPTION
  58.                         "Uptime [sec]"
  59.                 ::= { state 1 }
  60.  
  61.         stateGSM OBJECT-TYPE
  62.                 SYNTAX INTEGER
  63.                 ACCESS read-only
  64.                 STATUS mandatory
  65.                 DESCRIPTION
  66.                         "GSM signal"
  67.                 ::= { state 2 }
  68.  
  69.         resources       OBJECT IDENTIFIER ::= { mt151 3 }
  70.  
  71.         resIRCount OBJECT-TYPE
  72.                 SYNTAX INTEGER
  73.                 ACCESS read-only
  74.                 STATUS mandatory
  75.                 DESCRIPTION
  76.                         "IREG count"
  77.                 ::= { resources 1 }
  78.  
  79.         resHRCount OBJECT-TYPE
  80.                 SYNTAX INTEGER
  81.                 ACCESS read-only
  82.                 STATUS mandatory
  83.                 DESCRIPTION
  84.                         "HREG count"
  85.                 ::= { resources 2 }
  86.  
  87.         resIRTable OBJECT-TYPE
  88.                 SYNTAX SEQUENCE OF ResIREntry
  89.                 ACCESS not-accessible
  90.                 STATUS mandatory
  91.                 DESCRIPTION
  92.                         "IREG table"
  93.                 ::= { resources 10 }
  94.  
  95.         resIREntry OBJECT-TYPE
  96.                 SYNTAX ResIREntry
  97.                 ACCESS not-accessible
  98.                 STATUS mandatory
  99.                 DESCRIPTION
  100.                         ""
  101.                 INDEX { resIRAddr }
  102.                 ::= { resIRTable 1 }
  103.  
  104.         ResIREntry ::= SEQUENCE {
  105.             resIRAddr INTEGER,
  106.             resIRValue INTEGER
  107.         }
  108.  
  109.         resIRAddr OBJECT-TYPE
  110.                 SYNTAX INTEGER
  111.                 ACCESS not-accessible
  112.                 STATUS mandatory
  113.                 DESCRIPTION
  114.                         "IREG address"
  115.                 ::= { resIREntry 1 }
  116.  
  117.         resIRValue OBJECT-TYPE
  118.                 SYNTAX INTEGER
  119.                 ACCESS read-only
  120.                 STATUS mandatory
  121.                 DESCRIPTION
  122.                         "IREG value"
  123.                 ::= { resIREntry 2 }
  124.  
  125.         resHRTable OBJECT-TYPE
  126.                 SYNTAX SEQUENCE OF ResHREntry
  127.                 ACCESS not-accessible
  128.                 STATUS mandatory
  129.                 DESCRIPTION
  130.                         "HREG table"
  131.                 ::= { resources 20 }
  132.  
  133.         resHREntry OBJECT-TYPE
  134.                 SYNTAX ResHREntry
  135.                 ACCESS not-accessible
  136.                 STATUS mandatory
  137.                 DESCRIPTION
  138.                         ""
  139.                 INDEX { resHRAddr }
  140.                 ::= { resHRTable 1 }
  141.  
  142.         ResHREntry ::= SEQUENCE {
  143.             resHRAddr INTEGER,
  144.             resHRValue INTEGER
  145.         }
  146.  
  147.         resHRAddr OBJECT-TYPE
  148.                 SYNTAX INTEGER
  149.                 ACCESS not-accessible
  150.                 STATUS mandatory
  151.                 DESCRIPTION
  152.                         "HREG address"
  153.                 ::= { resHREntry 1 }
  154.  
  155.         resHRValue OBJECT-TYPE
  156.                 SYNTAX INTEGER
  157.                 ACCESS read-only
  158.                 STATUS mandatory
  159.                 DESCRIPTION
  160.                         "HREG value"
  161.                 ::= { resHREntry 2 }
  162.  
  163.         traps           OBJECT IDENTIFIER ::= { mt151 4 }
  164.  
  165.         trapSourceStatus OBJECT-TYPE
  166.                 SYNTAX INTEGER {
  167.      noStatus(1),
  168.      normal(2),
  169.      highWarning(3),
  170.      highCritical(4),
  171.      lowWarning(5),
  172.      lowCritical(6),
  173.      timeExpired(7),
  174.      turnOn(8),
  175.      turnOff(9),
  176.      countOverflow(10),
  177.     }
  178.                 ACCESS read-only
  179.                 STATUS mandatory
  180.                 DESCRIPTION
  181.                         "Trap source status"
  182.                 ::= { traps 1 }
  183.  
  184.         trapSourceValue OBJECT-TYPE
  185.                 SYNTAX INTEGER
  186.                 ACCESS read-only
  187.                 STATUS mandatory
  188.                 DESCRIPTION
  189.                         "Integer value of channel causing trap to be sent"
  190.                 ::= { traps 2 }
  191.  
  192.         trapSourceName OBJECT-TYPE
  193.                 SYNTAX DisplayString
  194.                 ACCESS read-only
  195.                 STATUS mandatory
  196.                 DESCRIPTION
  197.                         "Name of channel that caused trap to be sent"
  198.                 ::= { traps 3 }
  199.  
  200.         trapSourceType OBJECT-TYPE
  201.                 SYNTAX INTEGER {
  202.      keepAlive(1)
  203.      localInput(2),
  204.      extInput(3),
  205.      analogVoltage(4),
  206.      analogCurrent(5),
  207.      timerSync(6),
  208.      timerAsync(7),
  209.      counter(8),
  210.      supplyVoltage(9)
  211.      }
  212.                 ACCESS read-only
  213.                 STATUS mandatory
  214.                 DESCRIPTION
  215.                         "Type of channel causing trap to be sent"
  216.                 ::= { traps 4 }
  217.  
  218.         trapSourceIndex OBJECT-TYPE
  219.                 SYNTAX INTEGER
  220.                 ACCESS read-only
  221.                 STATUS mandatory
  222.                 DESCRIPTION
  223.                         "Index of channel caused the trap to be sent"
  224.                 ::= { traps 5 }
  225.  
  226. -- TRAP Definitions
  227.  
  228.    trAnalogAlarm TRAP-TYPE
  229.       ENTERPRISE mt151
  230.       VARIABLES
  231.          { trapSourceStatus, trapSourceValue, trapSourceName, trapSourceType, trapSourceIndex }
  232.       DESCRIPTION
  233.          "Analog alarm trap"
  234.       ::= 10
  235.  
  236.    trAnalogState TRAP-TYPE
  237.       ENTERPRISE mt151
  238.       VARIABLES
  239.          { trapSourceStatus, trapSourceValue, trapSourceName, trapSourceType, trapSourceIndex }
  240.       DESCRIPTION
  241.          "Analog state trap"
  242.       ::= 11
  243.  
  244.    trTimerExpired TRAP-TYPE
  245.       ENTERPRISE mt151
  246.       VARIABLES
  247.          { trapSourceStatus, trapSourceValue, trapSourceName, trapSourceType, trapSourceIndex }
  248.       DESCRIPTION
  249.          "Timer expired trap"
  250.       ::= 20
  251.    
  252.    trInputChange TRAP-TYPE
  253.       ENTERPRISE mt151
  254.       VARIABLES
  255.          { trapSourceStatus, trapSourceValue, trapSourceName, trapSourceType, trapSourceIndex }
  256.       DESCRIPTION
  257.          "Input change trap"
  258.       ::= 30
  259.  
  260.    trInputState TRAP-TYPE
  261.       ENTERPRISE mt151
  262.       VARIABLES
  263.          { trapSourceStatus, trapSourceValue, trapSourceName, trapSourceType, trapSourceIndex }
  264.       DESCRIPTION
  265.          "Input state trap"
  266.       ::= 31
  267.  
  268.    trCounterOverflow TRAP-TYPE
  269.       ENTERPRISE mt151
  270.       VARIABLES
  271.          { trapSourceStatus, trapSourceValue, trapSourceName, trapSourceType, trapSourceIndex }
  272.       DESCRIPTION
  273.          "Counter overflow trap"
  274.       ::= 40
  275.  
  276. END
  277.  
  278.    
  279.