Re: pass-through feature seems to cache data

Roman Medina-Heigl Hernandez <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dave Shield wrote:
> On Tue, 2005-10-11 at 16:49 +0200, Roman Medina-Heigl Hernandez wrote:
> 
>> Another question, then... which is the preferred method to extend
>>GET/SET functionality?
> 
> 
> Writing code :-)
> 
> Actually, that's a serious answer.
> The pass mechanism is a useful "quick-n-dirty" approach for
> adding a new extension - particularly for a read-only MIB.
> But it relies on firing off a sub-process for every requested
> varbind, so is hardly efficient!  The 'pass-persist' mechanism
> helps, but is still less than optimal.
> 
> For anything non-trivial (and for reliable handling of SET requests),
> you should really be looking at writing a proper C-based module.
> 
> Or possibly perl - I'm not sure how complete/efficient the embedded
> perl mechanism is.  Wes knows more about that than I do.
> 
> 
> 
>>                     I want SNMPD to serve via SNMP the content of a
>>SQL table.
> 
> 
> In which case, you *definitely* want to talk to Wes.
> I'm pretty sure he's already done something similar.
> 
> 
> 
>> Any example or idea about how to implement this interface
>>sql-table/SNMP? Which related docs should I read? I'm a bit lost...
> 
> 
> 
> Paging Mr. Hardaker.....

Actually I'm going to have a look to stuff kindly posted by Turbo
Frediksson:
http://www.bayour.com/bacula-snmp/
Btw, it doesn't seem trivial at all.

I can't believe there isn't any perl library for this. I'd also like to
hear opinion from Wes. I've cc'ed him. I hope we don't disturb him...

Thanks to all ppl contributing this thread.

-- 

Saludos,
-Roman

PGP Fingerprint:
09BB EFCD 21ED 4E79 25FB  29E1 E47F 8A7D EAD5 6742
[Key ID: 0xEAD56742. Available at KeyServ]


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.