From kristoferus75, 1 Year ago, written in Plain Text.
Embed
  1. mib file:
  2.  
  3. ---------------------------------------------------------------------------------------------------------------
  4. GUDEADS-ETS-MIB DEFINITIONS ::= BEGIN
  5.  
  6. IMPORTS
  7.  enterprises,
  8.  MODULE-IDENTITY,
  9.  OBJECT-TYPE,
  10.  NOTIFICATION-TYPE,
  11.  Integer32,
  12.  IpAddress
  13.   FROM SNMPv2-SMI
  14.  OBJECT-GROUP,
  15.  NOTIFICATION-GROUP
  16.   FROM SNMPv2-CONF;
  17.  
  18. gudeads MODULE-IDENTITY
  19.  LAST-UPDATED "200705231244Z" -- May 23, 2007 12:44:00 PM
  20.  ORGANIZATION "Gude Analog- und Digitalsysteme GmbH"
  21.  CONTACT-INFO
  22.   "http://www.gudeads.com/"
  23.  DESCRIPTION
  24.   ""
  25.  REVISION "200705231244Z" -- May 23, 2007 12:44:00 PM
  26.  DESCRIPTION
  27.   "Initial version."
  28.  -- 1.3.6.1.4.1.28507
  29.  ::= { enterprises 28507 }
  30.  
  31.  
  32.  
  33. etsPrimaryPowerChangeEvt NOTIFICATION-TYPE
  34.  OBJECTS {
  35.   etsPrimPowAvail}
  36.  STATUS  current
  37.  DESCRIPTION
  38.   "Event is triggered when a primary power
  39.   changes"
  40.  -- 1.3.6.1.4.1.28507.4.0.1
  41.  ::= { etsEvents 1 }
  42.  
  43.  
  44. etsSecondaryPowerChangeEvt NOTIFICATION-TYPE
  45.  OBJECTS {
  46.   etsSecPowAvail}
  47.  STATUS  current
  48.  DESCRIPTION
  49.   "Event is triggered when a secondary power
  50.   changes"
  51.  -- 1.3.6.1.4.1.28507.4.0.2
  52.  ::= { etsEvents 2 }
  53.  
  54. etsSNMPaccess OBJECT IDENTIFIER
  55.  -- 1.3.6.1.4.1.28507.4.1.1
  56.  ::= { etsObjects 1 }
  57.  
  58. etsTrapCtrl OBJECT-TYPE
  59.  SYNTAX  Integer32 (0..2)
  60.  MAX-ACCESS read-write
  61.  STATUS  current
  62.  DESCRIPTION
  63.   "0 = off
  64.   1 = Ver. 1
  65.   2 = Ver. 2c"
  66.  -- 1.3.6.1.4.1.28507.4.1.1.1
  67.  ::= { etsSNMPaccess 1 }
  68.  
  69.  
  70. etsTrapIPTable OBJECT-TYPE
  71.  SYNTAX  SEQUENCE OF EtsTrapIPEntry
  72.  MAX-ACCESS not-accessible
  73.  STATUS  current
  74.  DESCRIPTION
  75.   "list of all Trap receiver"
  76.  -- 1.3.6.1.4.1.28507.4.1.1.2
  77.  ::= { etsSNMPaccess 2 }
  78.  
  79.  
  80. etsTrapIPEntry OBJECT-TYPE
  81.  SYNTAX  EtsTrapIPEntry
  82.  MAX-ACCESS not-accessible
  83.  STATUS  current
  84.  DESCRIPTION
  85.   "an entry containing management
  86.   informations regarding the list of trap
  87.   receivers"
  88.  INDEX {
  89.   etsTrapIPIndex }
  90.  -- 1.3.6.1.4.1.28507.4.1.1.2.1
  91.  ::= { etsTrapIPTable 1 }
  92.  
  93.  
  94. EtsTrapIPEntry ::= SEQUENCE {
  95.  
  96.  etsTrapIPIndex Integer32,
  97.  etsTrapIPAddr  IpAddress,
  98.  etsTrapIPPort  Integer32 }
  99.  
  100.  
  101. etsTrapIPIndex OBJECT-TYPE
  102.  SYNTAX  Integer32 (1..8)
  103.  MAX-ACCESS not-accessible
  104.  STATUS  current
  105.  DESCRIPTION
  106.   "A unique value, greater than zero, for each receiver slot."
  107.  -- 1.3.6.1.4.1.28507.4.1.1.2.1.1
  108.  ::= { etsTrapIPEntry 1 }
  109.  
  110.  
  111. etsTrapIPPort OBJECT-TYPE
  112.  SYNTAX  Integer32 (0..1024)
  113.  MAX-ACCESS read-write
  114.  STATUS  current
  115.  DESCRIPTION
  116.   "IP Port specifying one Trap receiver slot.
  117.   A value of  0 disables this slot."
  118.  DEFVAL { 162 }
  119.  -- 1.3.6.1.4.1.28507.4.1.1.2.1.3
  120.  ::= { etsTrapIPEntry 3 }
  121.  
  122.  
  123. etsTrapIPAddr OBJECT-TYPE
  124.  SYNTAX  IpAddress
  125.  MAX-ACCESS read-write
  126.  STATUS  current
  127.  DESCRIPTION
  128.   "IP Address specifying one Trap receiver slot.
  129.   A value of '00000000'H disables this slot."
  130.  DEFVAL { '00000000'H }
  131.  -- 1.3.6.1.4.1.28507.4.1.1.2.1.2
  132.  ::= { etsTrapIPEntry 2 }
  133.  
  134.  
  135. gadsETS OBJECT IDENTIFIER
  136.  -- 1.3.6.1.4.1.28507.4
  137.  ::= { gudeads 4 }
  138.  
  139. -- Scalars and Tables
  140. --
  141.  
  142. etsObjects OBJECT IDENTIFIER
  143.  -- 1.3.6.1.4.1.28507.4.1
  144.  ::= { gadsETS 1 }
  145.  
  146. etsPrimPowAvail OBJECT-TYPE
  147.  SYNTAX  Integer32
  148.  MAX-ACCESS read-only
  149.  STATUS  current
  150.  DESCRIPTION
  151.   "not zero if primary Power available"
  152.  -- 1.3.6.1.4.1.28507.4.1.2
  153.  ::= { etsObjects 2 }
  154.  
  155.  
  156. etsSecPowAvail OBJECT-TYPE
  157.  SYNTAX  Integer32
  158.  MAX-ACCESS read-only
  159.  STATUS  current
  160.  DESCRIPTION
  161.   "not zero if secondary Power available"
  162.  -- 1.3.6.1.4.1.28507.4.1.3
  163.  ::= { etsObjects 3 }
  164.  
  165.  
  166. etsSecManualSelect OBJECT-TYPE
  167.  SYNTAX  Integer32
  168.  MAX-ACCESS read-only
  169.  STATUS  current
  170.  DESCRIPTION
  171.   "not zero if secondary Power is manually selected"
  172.  -- 1.3.6.1.4.1.28507.4.1.4
  173.  ::= { etsObjects 4 }
  174.  
  175.  
  176. -- Notification Types
  177. --
  178.  
  179. etsEvents OBJECT IDENTIFIER
  180.  -- 1.3.6.1.4.1.28507.4.0
  181.  ::= { gadsETS 0 }
  182.  
  183. etsPowerSelect OBJECT-TYPE
  184.  SYNTAX  Integer32
  185.  MAX-ACCESS read-only
  186.  STATUS  current
  187.  DESCRIPTION
  188.   "if 1, power is primary
  189.   if 2, power is secondary"
  190.  -- 1.3.6.1.4.1.28507.4.1.5
  191.  ::= { etsObjects 5 }
  192.  
  193.  
  194. -- Conformance
  195. --
  196.  
  197. etsConf OBJECT IDENTIFIER
  198.  -- 1.3.6.1.4.1.28507.4.3
  199.  ::= { gadsETS 3 }
  200.  
  201. -- Groups
  202. --
  203.  
  204. etsGroups OBJECT IDENTIFIER
  205.  -- 1.3.6.1.4.1.28507.4.3.1
  206.  ::= { etsConf 1 }
  207.  
  208. -- Compliance
  209. --
  210.  
  211. etsCompls OBJECT IDENTIFIER
  212.  -- 1.3.6.1.4.1.28507.4.3.2
  213.  ::= { etsConf 2 }
  214.  
  215.  
  216. etsManualSelectEvt NOTIFICATION-TYPE
  217.  OBJECTS {
  218.   etsSecManualSelect}
  219.  STATUS  current
  220.  DESCRIPTION
  221.   "triggered when secondary power is manually
  222.   selected"
  223.  -- 1.3.6.1.4.1.28507.4.0.3
  224.  ::= { etsEvents 3 }
  225.  
  226.  
  227. etsPowerSelectEvt NOTIFICATION-TYPE
  228.  OBJECTS {
  229.   etsPowerSelect}
  230.  STATUS  current
  231.  DESCRIPTION
  232.   "Event is triggered when power changes
  233.   between primary and secondary"
  234.  -- 1.3.6.1.4.1.28507.4.0.4
  235.  ::= { etsEvents 4 }
  236.  
  237. etsBasicGroup OBJECT-GROUP
  238.  OBJECTS {
  239.   etsPrimPowAvail,
  240.   etsSecPowAvail,
  241.   etsSecManualSelect,
  242.   etsPowerSelect,
  243.   etsTrapCtrl,
  244.   etsTrapIPAddr,
  245.   etsTrapIPPort }
  246.  STATUS  current
  247.  DESCRIPTION
  248.   "Basic objects."
  249.  -- 1.3.6.1.4.1.28507.4.3.1.1
  250.  ::= { etsGroups 1 }
  251.  
  252. etsNotificationGroup NOTIFICATION-GROUP
  253.  NOTIFICATIONS {
  254.   etsPrimaryPowerChangeEvt,
  255.   etsSecondaryPowerChangeEvt,
  256.   etsManualSelectEvt,
  257.   etsPowerSelectEvt }
  258.  STATUS  current
  259.  DESCRIPTION
  260.   ""
  261.  -- 1.3.6.1.4.1.28507.4.3.1.2
  262.  ::= { etsGroups 2 }
  263.  
  264. END
  265.  
  266.  
  267. -------------------------------------------------------------------------------------------------
  268. snmpwalk -v2c -mALL -c public 10.254.104.2 gudeads
  269. GUDEADS-ETS-MIB::etsTrapCtrl.0 = INTEGER: 1
  270. GUDEADS-ETS-MIB::etsTrapIPAddr.1 = IpAddress: 195.230.160.26
  271. GUDEADS-ETS-MIB::etsTrapIPAddr.2 = IpAddress: 0.0.0.0
  272. GUDEADS-ETS-MIB::etsTrapIPAddr.3 = IpAddress: 0.0.0.0
  273. GUDEADS-ETS-MIB::etsTrapIPAddr.4 = IpAddress: 0.0.0.0
  274. GUDEADS-ETS-MIB::etsTrapIPAddr.5 = IpAddress: 0.0.0.0
  275. GUDEADS-ETS-MIB::etsTrapIPAddr.6 = IpAddress: 0.0.0.0
  276. GUDEADS-ETS-MIB::etsTrapIPAddr.7 = IpAddress: 0.0.0.0
  277. GUDEADS-ETS-MIB::etsTrapIPAddr.8 = IpAddress: 0.0.0.0
  278. GUDEADS-ETS-MIB::etsTrapIPPort.1 = INTEGER: 162
  279. GUDEADS-ETS-MIB::etsTrapIPPort.2 = INTEGER: 0
  280. GUDEADS-ETS-MIB::etsTrapIPPort.3 = INTEGER: 0
  281. GUDEADS-ETS-MIB::etsTrapIPPort.4 = INTEGER: 0
  282. GUDEADS-ETS-MIB::etsTrapIPPort.5 = INTEGER: 0
  283. GUDEADS-ETS-MIB::etsTrapIPPort.6 = INTEGER: 0
  284. GUDEADS-ETS-MIB::etsTrapIPPort.7 = INTEGER: 0
  285. GUDEADS-ETS-MIB::etsTrapIPPort.8 = INTEGER: 0
  286. GUDEADS-ETS-MIB::etsPrimPowAvail.0 = INTEGER: 1
  287. GUDEADS-ETS-MIB::etsSecPowAvail.0 = INTEGER: 1
  288. GUDEADS-ETS-MIB::etsSecManualSelect.0 = INTEGER: 0
  289. GUDEADS-ETS-MIB::etsPowerSelect.0 = INTEGER: 1
  290. GUDEADS-ETS-MIB::etsPowerSelect.0 = No more variables left in this MIB View (It is past the end of the MIB tree)