As an alternative, if you find an appropriate (GPL or public domain) snmp agent implementation, just use owcapi to add the OWFS support. Owcapi provides all the same facilities, but a cleaner interface.
Paul Alfille On 7/5/06, Paul Alfille <[EMAIL PROTECTED]> wrote: > Great, Jim and George, sounds like you volunteered! > > (George, we can give you developer status to use the sourceforge > resources, I can set up CVS access). > > As far as efficiency, if you build owsnmp like owhttpd, it'll be a > server process just waiting for clients (snmp requests), not requiring > fresh startup for each request. My proposed implementation: > 1. Use owhttpd as a template, it has argument parsing, initialization > code, and tcp server code already implemented. > 2. You will need to find SNMP request parsing code. > 3. The request will be need to be converted into an appropriate text > string -- (path/property) and either a read or a direcory list > obtained. > 4. This will allow SNMP to work directly with an adapter, or through > owserver allowing other programs to access the 1-wire devices. > 5. When we get fancy, the "structure" directory can help populate the > devices, properties and their types for the MIB -- so nothing will > need to be hardcoded and owsnmp will support new devices and adapters > automatically. > > Paul Alfille > > On 7/5/06, George M. Zouganelis <[EMAIL PROTECTED]> wrote: > > I think that the right root should be 1.3.6.1.4.1 > > > > References: > > * Abstract Syntax Notation One (ASN.1) > > [http://asn1.elibel.tm.fr/en/introduction/index.htm] > > > > [http://asn1.elibel.tm.fr/cgi-bin/oid/display?oid=1.3.6.1.4.1&action=display] > > > > Paul Alfille wrote on 5/7/2006 23:34: > > > Ok I looked at http://www.simpleweb.org/ietf/mibs/index.html?sel=IETF > > > and still can't figure it out. Jim, do you want to try your hand at > > > developing this? > > > > > > Paul Alfille > > > > > > On 7/5/06, Jim Canfield <[EMAIL PROTECTED]> wrote: > > >> Paul Alfille wrote: > > >> > > >>> I have found SNMP a little opaque in implementation. There seems to be > > >>> a set hiearchy for the monitored properties (and it isn't obvious to > > >>> me where we'd fit in), and few open source implementations to build > > >>> on. > > >> I would love to see an owfs template for something like Cacti > > >> (www.cacti.net). I believe it uses php-snmp, ucd-snmp, or net-snmp. > > >> Something like this would simplify my life tremendously. The idea of > > >> using a network monitor to monitor temps/humidity/etc. never even > > >> crossed my mind until now. The goals tend to be very similar. > > >> > > >> My $.02 > > >> > > >> Jim > > >> > > >> Using Tomcat but need to do more? Need to support web services, security? > > >> Get stuff done quickly with pre-integrated technology to make your job > > >> easier > > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > > >> Geronimo > > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > >> _______________________________________________ > > >> Owfs-developers mailing list > > >> [email protected] > > >> https://lists.sourceforge.net/lists/listinfo/owfs-developers > > >> > > > > > > Using Tomcat but need to do more? Need to support web services, security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > > Owfs-developers mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > Owfs-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > > > > > > > > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
