Proxy forwarder configuration help

Frank.Fock____t-online.de Frank.Fock____t-online.de
Thu Apr 12 10:35:00 CEST 2001


Hi Eitan,

Do you have a COMMUNITY-MIB entry that points from the 
community 'public' to the context 'ads' with contextEngineID
'public' as in your PROXY-MIB configuration?

Regards,
Frank

> Hi,
> 
> Since my last email to the mailing list I got several responses 
(Thanks 
> every one). But unfortunately the proxy forwarder is still not 
working form me.
> 
> My goal is to run two agents on the same machine, Solaris on port 161 
and 
> my private agent on port 4700.
> I want to forward requests from port main agent (4700) to port 161 if 
they 
> are Solaris ones.
> In the first stage I don't want to use v3, just a simple forward 
(later I 
> will add that)
> 
> Here is the TARGET-MIB, PROXY-MIB,  configuration:
> 
> snmpProxyTable:
> Name: proxy
> Type: read(1)
> ContectEngineId: public
> ContextName: ads
> targetParamsIn: defaultV1Request
> Single: ads
> Multiple:
> Storage: NonVolatile
> Status: Active.
> 
> 
> SnmpTagretAddrTable
> Name: ads
> Tdomain: snmpV2.1.1
> Taddress: 127.0.0.1/161
> Timeout: 1500
> RetryCount: 3
> tagList: v1request
> AddrParams: defaultV1Request
> Storage: nonVolatile
> Status: active
> 
> snmpTargetParamsTable:
> name: defaultV1Request
> MPmodel: 1
> securityModel: 1
> SecurityName: public
> SecurityLevle: noAuthNoPriv(1)
> Storage: nonVolatile
> Status: active
> 
> Following is the code
> 
> Oidx idx = snmpProxyEntry::instance->get_next_avail_index();
> MibTableRow* r = snmpProxyEntry::instance->add_row(idx);
> snmpProxyEntry::instance->set_row(r, 1, "public", "solserv", 
> "defaultV1Request", "ads",  "", 3, rowActive);
> 
> 
> OctetStr nm("ads");
> Oidx tdomain("snmpV2.1.1");
> OctetStr tadd("7F.00.00.01.00.A1"); // 127.0.0.1/161 (I also tried 
with my 
> machine ip/161)
> OctetStr taglist("V1request");
> OctetStr params("defaultV1Request");
> snmpTargetAddrEntry::instance->add_entry(nm, tdomain, tadd, taglist, 
params);
> 
> 
> OctetStr name("defaultV1Request");
> OctetStr securityName("public");
> snmpTargetParamsEntry::instance->add_entry(name, 1, 1, securityName, 
1);
> 
> 
> The agent on port 4700 is processing requests, but I don't see any 
> forwarding when I try to query Solaris object.
> 
> Thanks
> 
> 
> 
> Eitan P.
> Ext. 57327
> 
> 




More information about the AGENTPP mailing list