2009/4/15 Andy Burns <snmp.li...@burns.me.uk>:
> how would I pick an OID, just start with a 1.3.6.1.3.random experimental one?

Assuming this isn't going to be distributed outside your own
private use, then use NET-SNMP-MIB::netSnmpPlaypen

If it's likely to be used more widely, then you should apply for your
own enterprise number, and use that.  See www.iana.org



> Is there a simple example of a MIB module?

Have a look under 'agent/mibgroup' for various examples.
Or try unning 'mib2c' with a selection of template configs,
to get a feel for what's available.

Personally, I'd use
    mib2c -S cache=1 -c mib2c.table_data.conf  tableName

(assuming that the ADSL MIB is based around tables),
and work things from there.

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to