Using one AgentX sub-agent with multiple master snmpd daemons

Babis Chalios <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I am in the process of writing my own AgentX sub-agent for serving some 
MIB. I was wondering whether it is possible
to have the same sub-agent connect to more than one master agents. I 
have been looking around both in documentation
(I couldn't find a relative example) and the source code. It seems to me 
that I should be able to keep multiple snmp_session
objects around and poll them for incoming traffic, but I am not sure if 
that's a valid way to use the sub-agent.

Also, the snmpd.conf man page seems to indicate that the /agentXSocket/ 
might allow multiple addresses (separated by
commas: "agentXSocket 
[<transport-specifier>:]<transport-address>*[,...]*"**but it could be 
that i 'm just not reading this
correctly.

Any directions would be more than welcome.

Cheers,
Babis

_______________________________________________
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.