SNMP MIB ERROR scalar's parent node must be simple node Object Not Imported -


i have following file ,

x-mib.txt:26: scalar's parent node must simple node object not imported

x-mib.txt:35: scalar's parent node must simple node object not imported

x-mib.txt:45: scalar's parent node must simple node object not imported

x-mib.txt:55: scalar's parent node must simple node object not imported

here's mib file (after emitting company name , replacing names "x" , "y")

x-mib definitions ::= begin  imports     module-identity, object-type, notification-type, integer32 snmpv2-smi     displaystring                           rfc1213-mib     object-group, notification-group        snmpv2-conf     y                                       y-mib;  x module-identity        last-updated "201411060000z"        organization "y corporation"        contact-info        "y corporation         www.y.com"        description        "the structure of management information y x enterprise."        revision      "201411060000z"        description          "initial version of mib."        ::= { y 101 }  -- 1.3.6.1.4.1.1139.101.1 xalert object identifier ::= { x 1 }  -- 1.3.6.1.4.1.1139.101.1.1 xalertseverity object-type        syntax integer32        max-access accessible-for-notify        status current        description         "severity of event"         ::= { xalert 1 }  -- 1.3.6.1.4.1.1139.101.1.2 xalerttype object-type        syntax displaystring (size (0..255))        max-access accessible-for-notify        status current        description         "type of alert"         ::= { xalert 2 }   -- 1.3.6.1.4.1.1139.101.1.3 xalertsourceobjectid object-type        syntax displaystring (size (0..255))        max-access accessible-for-notify        status current        description         "object id alert created"         ::= { xalert 3 }   -- 1.3.6.1.4.1.1139.101.1.4 xalertactioncode object-type        syntax displaystring (size (0..255))        max-access accessible-for-notify        status current        description         "action code of alert"         ::= { scaleioalert 4 }  -- 1.3.6.1.4.1.1139.101.1.5         xgroups object identifier ::= { xalert 5 }           -- 1.3.6.1.4.1.1139.101.1.5.1         currentobjectgroup object-group             objects { xalertseverity,                 xalerttype,                 xalertsourceobjectid,                 xalertactioncode }             status current             description                 "x-mib-v2 object-group."             ::= { xgroups 1 }          -- 1.3.6.1.4.1.1139.101.1.5.2         currentnotificationgroup notification-group             notifications { xaealert }             status current             description                 "x-mib-v2 notification-group."             ::= { xgroups 2 }   xaealert notification-type        objects { xalertseverity, xalerttype, xalertsourceobjectid, xalertactioncode }        status current        description "x alert"        ::= { x 1 } end 

  1. don't import displaystring rfc1213-mib. mixing smiv1 , smiv2. import displaystring snmpv2-tc instead.
  2. try adding intermediate object identifier between module identity , xalert. able warning scalar's parent node must simple node go away doing this.

    xmibobjects object identifier ::= { x 1 } xalert object identifier ::= { xmibobjects 1 } 

i don't have text y-mib, couldn't complete imports.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -