very nice!
have a howto, to put at owfs site?
2011/8/1 Paul Alfille <[email protected]>
> Luke Pascoe
> Date: 2011/8/1
> Subject: Re: SNMPd Agent
>
> Script available:
> http://sourceforge.net/projects/owfs/files/snmp/1w_snmp.py/download
>
> It uses the SNMPd "pass" feature which passes control of an entire MIB tree
> to an external application.
>
> I'm pretty sure the output order could be vastly improved, I'm not that
> familiar with SNMP MIBs but looking at the way some of the system output is
> done my method is...non standard. I can't think of a better way to handle
> the fact that the data is itself a tree though.
>
> Anyway, every item in the OWFS is exported and should be addressed fairly
> consistently. I use a cache file to ensure devices keep the same OID
> regardless of the order they appear on the filesystem, so as devices are
> added and removed the OIDs remain the same. If the contents of the
> directories change the OIDs will move about though, but as I understand they
> way your stuff works this shouldn't happen except perhaps between version
> releases.
>
> This is a first cut, concieved and implemented in a weekend. I'm open to
> feedback.
>
>
>
> ------------------------------------------------------------------------------
> Got Input? Slashdot Needs You.
> Take our quick survey online. Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
>
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
--
Roberto Spadim
Spadim Technology / SPAEmpresarial
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers