You are right about the plug-ins. Following the example in the wiki, I
was able to compile the snmpd agent and have it respond to a custom
mib-node entry.

The idea of snmp sub-agents comes from the SNMP protocol itself, I
believe. You need those extra sub-agents on a system to respond to
requests/queries that target a device that doesn't support the TCP
protocol.

Wait, I think I'm explaining this wrong, but essentially, if you have
a device such as a fax machine (or something) that you need to
configure via SNMP, but it can't be connected to the network directly
(no ethernet ports). So, you connect it to a PC and run a SNMP
sub-agent on the PC. That way, if any SNMP-manager wants to talk to
the fax, the request will get picked by the the sub-agent running on
the PC and it will do the needed 'talking' with the fax machine and
respond back in its place.

You're better off reading a good SNMP book about this, but I think I
have the gist of things explained.

Hoping someone will correct me if I'm wrong,
Abraham Varricatt

On Wed, Sep 8, 2010 at 12:13 PM, Ravi Kumar <[email protected]> wrote:
> Hi All,
>
> Could any one plz give me  an example in which we need a separate snmp
> sub-agent.
> I have an snmp agent "snmpd" why do i need to write and extra sub-agent 
> module.
> We can write plug-ins for agent itself to add more mib functionalies in it.
>
>
> Regards,
> Ravi
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to