Hi! well... to "conform" with the snmp "standards/philosophy" the entire owfs hierarchy should be placed in a "separate" OIB/OID...
http://www.paessler.com/support/kb/questions/49 Here is a sample structure of an OID: Iso (1).org(3).dod(6).internet(1).private(4).transition(868).products(2).chassis(4).card(1).slotCps(2) . cpsSlotSummary(1).cpsModuleTable(1).cpsModuleEntry(1).cpsModuleModel(3).3562.3 or 1.3.6.1.4.868.2.4.1.2.1.1.1.3.3536.3 As far as I remember, there are some "reserved for internal use" OIBs otherwise it would make more sense to register an OIB for owfs usage - as far as I recall it's easy and free - I did that some 5 years ago for my company - in this way owfs could get a reserved and unique identification... After that, it's all up to owfs - regarding hierarchy... the only "problem" is that all the "keys" should be numeric and max 32 bit (if I recall correctly) - at least for snmp v1 - this could cause some issues on how to "map" device ids to OIDs... And.. if adding snmp support I think the right way would be to add a snmp agent to existing snmp daemons (like ownet, owphp...) instead of making a snmp daemon directly. regards, m.culibrk On 01/19/2011 02:45 AM, Roberto Spadim wrote: > i will read more > but it shouldn't follow any snmp hierarchy > it's owfs hierarchy > but using snmp for "get"/"set" and "walk" (list) values > > 2011/1/18 Paul Alfille<[email protected]>: >> Any idea where in the snmp hierarchy 1-wire devices should be placed? >> >> On Tue, Jan 18, 2011 at 6:10 PM, Roberto Spadim<[email protected]> >> wrote: >>> hi i read about implement snmp on owfs... >>> maybe snmp v1 is very easy to implement >>> check >>> http://tools.ietf.org/html/rfc3584 >>> >>> 1.1. SNMPv1 >>> >>> >>> SNMPv1 is defined by these documents: >>> >>> - STD 15, RFC 1157 [RFC1157] which defines the Simple Network >>> Management Protocol (SNMPv1), the protocol used for network access >>> to managed objects. >>> >>> - STD 16, RFC 1155 [RFC1155] which defines the Structure of >>> Management Information (SMIv1), the mechanisms used for describing >>> and naming objects for the purpose of management. >>> >>> - STD 16, RFC 1212 [RFC1212] which defines a more concise >>> description mechanism, which is wholly consistent with the SMIv1. >>> >>> - RFC 1215 [RFC1215] which defines a convention for defining Traps >>> for use with the SMIv1. >>> >>> Note that throughout this document, the term 'SMIv1' is used. This >>> term generally refers to the information presented in RFC 1155, RFC >>> 1212, and RFC 1215. >>> >>> >>> v2, v3 is more complex protocol, v1 is very "easy" to implement >>> >>> -- >>> Roberto Spadim >>> Spadim Technology / SPAEmpresarial >>> >>> ------------------------------------------------------------------------------ >>> Protect Your Site and Customers from Malware Attacks >>> Learn about various malware tactics and how to avoid them. Understand >>> malware threats, the impact they can have on your business, and how you >>> can protect your company and customers by using code signing. >>> http://p.sf.net/sfu/oracle-sfdevnl >>> _______________________________________________ >>> Owfs-developers mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/owfs-developers >>> >> ------------------------------------------------------------------------------ >> Protect Your Site and Customers from Malware Attacks >> Learn about various malware tactics and how to avoid them. Understand >> malware threats, the impact they can have on your business, and how you >> can protect your company and customers by using code signing. >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> Owfs-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> >> > > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
