On Mon, 01 Nov 2004 19:11:27 +0200 Toni wrote:
TW> On Mon, 2004-11-01 at 10:47 -0500, Robert Story wrote:
TW> > On Mon, 01 Nov 2004 10:47:47 +0200 Toni wrote:
TW> > TW> On Mon, 2004-10-18 at 15:07, Toni Willberg wrote:
TW> > TW> > I have developed a little device emulator using NetSNMP Perl
TW> > TW> > module.
TW> > 
TW> I'm developing a sub-agent:
TW> 
TW>    my $agent = new NetSNMP::agent('Name' => 'test', 'AgentX' => 1);

Ah, I missed that part...

Not having any idea if this will work, I suggest:

1) run multiple snmpd listenting on each ip (eg "10.0.0.1:161") and
different agentx ports (-x /var/agent/master1)

2) use perl default store stuff to set NETSNMP_DS_AGENT_X_SOCKET.. I think
something like:

   netsnmp_ds_set_string(1, 2,"/var/agent/master1"); 

(see perl/default_store/test.pl)


-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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

Reply via email to