Fwd: Re: Proxy forwarder configuration help
Eitan Pilipski
eitanp____qualcomm.com
Thu Apr 19 19:18:31 CEST 2001
>Date: Thu, 19 Apr 2001 10:01:26 -0700
>To: Jochen Katz <katz____agentpp.com>
>From: Eitan Pilipski <eitanp>
>Subject: Re: Proxy forwarder configuration help
>
>
>
>At 10:41 AM 4/17/2001 +0200, Jochen Katz wrote:
>Eitan Pilipski wrote:
> >
> > I added to the community MIB 'adsserv' entry, but still I'm getting the
> > same error.
> > Do I need to add it somewhere else ?
> > Thanks
> >
> > Do I need to change something is the manager ? or should I change the
> entry ?
>
>You don't need to add something. Simply replace ads with adsserv in the
>agent or in the maanger, that sends the request.
>
>Best regards,
> Jochen
>
>I changed the entry to 'ads' but I'm still getting the following error:
>
>:10: 21351: (2)EVENT : Agent: Proxy request (contextID):
>(6.112.117.98.108.105.99.0).
>20010419.09:35:10: 21351: (6)DEBUG : ProxyForwarder: matched proxy (pdu
>type)(type): (161), (1).
>20010419.09:35:10: 21351: (6)DEBUG : ProxyForwarder: matching (context
>engine id)(match): (public), (6), (public), (6).
>20010419.09:35:10: 21351: (6)DEBUG : ProxyForwarder: matched (context
>name)(match): (ads), (ads).
>20010419.09:35:10: 21351: (6)DEBUG : ProxyForwarder: matching
>(MPModel)(match)(secModel)(match)(secLevel)(match): (1), (1), (2), (1),
>(1), (1).
>20010419.09:35:10: 21351: (6)DEBUG : ProxyForwarder: matching
>(secName)(match): (public), (public).
>20010419.09:35:10: 21351: (3)INFO : ProxyForwarder: no matching proxy entry.
>20010419.09:35:10: 21351: (4)EVENT : RequestList: sent report
>(rid)(tid)(to)(err)(send)(sz): (16), (0), (129.46.176.142/3614), (0), (0), (1).
>20010419.09:35:10: 21351: (2)EVENT : Agent: finished thread execution.
>
>
>Here is my configuration:
>
> UdpAddress addr("127.0.0.1/161"); // local machine ip
> OctetStr address;
> IpAddress ip(addr);
> for (int i=0; i<4; i++) {
> address += (unsigned char)ip[i];
> }
> address += (addr.get_port() >> 8);
> address += (addr.get_port() & 0x00FF);
>
>
> OctetStr name1("defaultV1Request");
> OctetStr sname1("public");
> snmpTargetParamsEntry::instance->add_entry(name1, 1, 1, sname1, 1);
>
> OctetStr nm("ads");
> Oidx udpDomain("1.3.6.1.6.1.1"); // UDP domain
> OctetStr tadd(address);
> OctetStr taglist("defaultV1Request");
> OctetStr params("defaultV1Request");
>
> snmpTargetAddrEntry::instance->add_entry(nm, udpDomain, tadd,
> taglist, params);
>
> mib.add(new snmp_proxy_mib());
>
> Oidx idx = snmpProxyEntry::instance->get_next_avail_index();
> MibTableRow* r = snmpProxyEntry::instance->add_row(idx);
>
> snmpProxyEntry::instance->set_row(r, 1, "public",
> "ads", "defaultV1Request",
> "ads", "", 3, rowActive);
>
>
>
> idx = snmpCommunityEntry::instance->get_next_avail_index();
> r = snmpCommunityEntry::instance->add_row(idx);
>
> snmpCommunityEntry::instance->set_row(r,
> OctetStr("public"),
> OctetStr("public"),
> OctetStr("public"),
> OctetStr("ads"),
> OctetStr("access"),
> 3, 1);
>
>
>Do I need to add any Vacm entries for this to work ? The only group that I
>created is group "v1v2group" (like in example atm_mib)
>Do I need to add views to the new community that I defined for the proxy ?
>if so what is the format to do it ?
>
>At this point I don't want to use SNMPv3 security just to forward requests
>from my private agent running on port 4700 to the Solaris agent running on
>port 161.
>
>Is there a way to use proxy to forward requests based on oid value ? so
>for example if the object oid is not part of my private tree oids to
>forward the request to another agent.
>
>
>Thanks
>
>
>
>
>Eitan P.
>Ext. 57327
Eitan P.
Ext. 57327
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20010419/14ca7596/attachment.htm
More information about the AGENTPP
mailing list