Thanks to both you and Peter Martin and also to Dave Shield who replied
direct =)

Raffles

PS this is yet another attempt at finding a way of sending mails that
avoids the annoying formatting problems - please bear with me!

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Makavy, Erez (Erez)
> Sent: 11 January 2006 11:18
> To: Finking, Robert
> Cc: [email protected]
> Subject: RE: mib2c config file format - testing read-only
> 
> 
>  
> I think this manual could be what you are looking for:
> 
> http://net-snmp.sourceforge.net/docs/man/mib2c.conf.html
> 
> Erez.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Dave Shield
> Sent: Wednesday, January 11, 2006 1:11 PM
> To: Finking, Robert
> Cc: [email protected]
> Subject: Re: mib2c config file format - testing read-only
> 
> On Fri, 2005-12-23 at 10:41 +0000, Finking, Robert wrote:
> 
> > Is the mib2c config file format published anywhere,
> 
> Nope.
> Possibly in the darker recesses of Wes' subconscious, but 
> certainly nowhere useful.
> 
> >  is it just a case of looking at the mib2c source code?
> 
> That's what the rest of us have had to do.
> 
> 
> >  I note that the manual page reads as though the config 
> files shipped
> > with NetSNMP are really part of mib2c, but presumably it's not that 
> > hard to tweak it to your own design?
> 
> Nope.  Go right ahead.
> That's the advantage of Open Source - you have the freedom to 
> turn this to your own warped intentions :-)
> 
> 
> >  One particular thing I'd like to know, how do you test if 
> an object's
> 
> > access mode (in particular if it is read-only).
> 
> Have a look at some of the other mib2c.*.conf files:
> 
>   @foreach $i table@
>          :
>     reg = netsnmp_create_handler_registration(
>               "$i",     ${i}_handler,
>               ${i}_oid, ${i}_oid_len,
>     @if $i.settable@
>               HANDLER_CAN_RWRITE
>     @else@
>               HANDLER_CAN_RONLY
>     @end@
>               );
>          :
>   @end@
> 
> 
> That's for the table as a whole, but the same test can be 
> applied to individual column object (or scalars) too.  See 
> the existing configs for examples.
> 
> Dave
> 
> 
> 
> > The information contained in this e-mail and any attachments is
> > proprietary to Roke Manor Research Ltd and must not be 
> passed to any 
> > third party without permission. This communication is for 
> information 
> > only and shall not create or change any contractual relationship.
> 
> The information contained in this e-mail is not proprietary 
> in any manner, and may be passed to anyone who might find it 
> useful. This communication is for information only, and 
> contractual relationships don't enter into it.  There should 
> be no attachments or any other form of relationships either.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files for problems?  Stop!  Download the new AJAX 
> search engine that makes searching your log files as easy as 
> surfing the  web.  DOWNLOAD SPLUNK! 
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Net-snmp-users mailing list [email protected]
> Please see the following page to unsubscribe or change other 
> options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files for problems?  Stop!  Download the new AJAX 
> search engine that makes searching your log files as easy as 
> surfing the  web.  DOWNLOAD SPLUNK! 
> http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
> _______________________________________________
> Net-snmp-users mailing list [email protected]
> Please see the following page to unsubscribe or change other 
> options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to