Hi,
i am creating a new mib and would like that appears my name on a mib, for
example:

WESLEY-MIB DEFINITIONS ::= BEGIN

IMPORTS
        OBJECT-TYPE, Integer32, Gauge32, OCTET STRING
        MODULE-IDENTITY, private              FROM SNMPv2-SMI
        OBJECT-GROUP                          FROM SNMPv2-CONF
        Float                                 FROM UCD-SNMP-MIB
        DisplayString                         FROM SNMPv2-TC;


wesleyMIB MODULE-IDENTITY
    LAST-UPDATED "200603290000Z"
    ORGANIZATION "NPMON Consulting IT"
                      email:    [EMAIL PROTECTED]
                 "
    DESCRIPTION  "A simple mib.  "
    ::= { private 10 }

wesleyServices  OBJECT IDENTIFIER ::= { npmonMIB 1 }
wesleyNetwork   OBJECT IDENTIFIER ::= { npmonMIB 2 }

wesleyProcess     OBJECT IDENTIFIER ::= { npmonServices 1 }

queue OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        ".................................."
    DEFVAL { 1 }
    ::= { wesleyProcess 1 }

........

END

When i run...

servidor#  snmpwalk -v 2c -c public 10.10.10.10 queue
wesleyMIB: Unknown Object Identifier (Sub-id not found: iso -> wesleyMIB)

How can associate my mib names ( wesleyMIB or queue and others ) to a oid
( im my case SNMPv2-SMI::private.10.1.1.1) ?



-------------
Wesley Naves de Faria
Analista de suporte
FreeBSD/OpenBSD/Linux
AGANP - Agência Goiana de Administração Negócios Públicos
Contato: +55 (0XX62) 3201-6582



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to