2009/7/27 sanjaykumar <[email protected]>:
> I find the netsnmp is using the "pipe" in some of file like
>
> agent/mibgroup/utilities/execute.c
> agent/mibgroup/util_funcs.c
These are used to allow the agent to invoke a sub-command
(for things like the "exec", "extend" and "sh" directives).
> snmplib/snmpCallbackDomain.c
This is part of a mechanism for allowing the agent to query
itself - e.g. if one MIB module needs to retrieve information
from another module.
It's particularly important for the DisMan Event MIB support.
> snmplib/winpipe.c
This is (I believe) a compatibility module, to allow Windows
systems to work in a similar way as the main Unix-based code.
But I'm no Windows expert, so will defer to those who know
more definitely.
> How can I remove it ?
If you are running on Linux, then you probably won't be using "winpipe" anyway.
You can use
"configure --with-out-transports=Callback"
to omit the Callback domain code.
You should be able to use
"configure --with-out-mib-modules=utilities/execute,util_funcs"
to omit the sub-command handling.
Note that you will probably need to explicitly omit various other MIB modules
(such as disman/event, ucd-snmp/pass, ucd-snmp/exec, agent/extend etc)
that rely on these particular modules.
But experiment for yourself.
Dave
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders