Re: rfc: snmptrapd dependencies on agent libs

This is a discussion on Re: rfc: snmptrapd dependencies on agent libs within the SNMP Coders forums, part of the Networking and Network Related category; On Thu, 2005-10-20 at 11:22 +0200, Thomas Anders wrote: > FWIW, the original *intention* of --disable-agent ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-20-2005
Dave Shield
 
Posts: n/a
Default Re: rfc: snmptrapd dependencies on agent libs

On Thu, 2005-10-20 at 11:22 +0200, Thomas Anders wrote:
> FWIW, the original *intention* of --disable-agent wrt. snmptrapd
> seems to have been:
>
> [x] build snmptrapd without agent



> But I don't think it ever worked.
> So should we try to complete what has been started back then?



Well, first let's be clear about what exactly *are* the
dependencies that snmptrapd has on the agent code.
AIUI, there are probably three main elements:

a) running as an AgentX subagent
b) access control processing
c) invoking external commands ('run_shell_command')


a) feels fairly straightforward - if the agent
isn't being built, it's probably safest to
disable the snmptrapd AgentX support as well.

I'm not sure whether b) is currently a dependency
or not. But it presumably will become so, when
Wes' latest proposals come on board.

c) is fairly fundamental. It's used to implement
the 'traphandle' directive, which feels a fairly
core part of snmptrapd behaviour!

I suspect that the cleanest way to handle c) might
be to compile 'agent/mibgroup/utilities/execute'
directly into the snmptrapd binary (rather than
accessing it via the agent library).

Thoughts?

Dave


-------------------------------------------------------
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-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:27 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0