How to design agent++ for SNMPv1v2 responding

Shvedko Pavel shved____servocomp.ru
Thu Dec 21 14:28:48 CET 2000


Jochen Katz wrote:

> Hi,
>
> > How to use agent++v3.4.1b.tar.gz with snmp++v3.0l.tar.gz to design
> > snmp-agent for service SNMPv1v2 requests
> > I bulid all examples of agent++ from your distributive but anyone not
> > responding to snmpwalk ... why?
>
> I assume that you sent the requests to destination port 161. The default
> listen port for the example agents is 4700.

I know!
See bellow ...
I try:

bash-2.04$ snmpwalk -p 5000 shved publuc
Timeout: No Response from shved
bash-2.04$

His output:
-------------------------------------------------------------------------------------
20001221.16:23:47: 00466: (1)EVENT  : main: SNMP listen port: (5000).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.2.1.1.1.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.2.1.1.5.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.2.1.1.4.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.2.1.1.6.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.2.1.1.7.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.2.1.1.3.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.3.47.1.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.3.47.2.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.3.47.5.1).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.3.47.4.0).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.2.1.11).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.12).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.18.1).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.13.1).
20001221.16:23:47: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.15.1.1).
20001221.16:23:47: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.7.105.110.105.116.105.97.108).
20001221.16:23:47: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.12.117.110.115.101.99.117.114.101.85.115.101.114).

20001221.16:23:47: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.3.77.68.53).
20001221.16:23:47: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.3.83.72.65).
20001221.16:23:47: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.6.77.68.53.68.69.83).
20001221.16:23:48: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.6.83.72.65.68.69.83).
20001221.16:23:48: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.7.77.68.53.73.68.69.65).
20001221.16:23:49: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(11.65.103.101.110.116.95.115.104.118.101.100.7.83.72.65.73.68.69.65).
20001221.16:23:49: 00466: (1)DEBUG  : UsmUserTable: add row with index:
(5.65.103.101.110.116.7.116.101.115.116.116.116.116).
20001221.16:23:49: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.15.1.2.2.1).
20001221.16:23:49: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.10.2.1).
20001221.16:23:49: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.11.2.1).
20001221.16:23:49: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.16.1).
20001221.16:23:49: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.12.1.5.0).
20001221.16:23:49: 00466: (3)DEBUG  : MibContext: adding MIB object (context)(oid): (),
(1.3.6.1.6.3.12.1.4.0).
20001221.16:24:00: 00466: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com)(type): (2085432443), (1), (213.24.152.111/1032), (SNMPv1),
(publuc), (161).
20001221.16:24:00: 00466: (3)EVENT  : RequestList: received v1/v2c request
(FOUND)(community)(cid)(cname)(filter_tag): : (FALSE), (publuc), (), (), ().
20001221.16:24:00: 00466: (7)DEBUG  : Vacm: getViewName for: (model) (name) (level) (type)
(context): (1), (publuc), (1), (1), ().
20001221.16:24:00: 00466: (7)DEBUG  : Vacm: getGroupName: (model) (name): (1), (publuc),
(1.3.6.1.6.3.16.1.2.1.3.1.6.112.117.98.108.117.99).
20001221.16:24:01: 00466: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com)(type): (2085432443), (1), (213.24.152.111/1032), (SNMPv1),
(publuc), (161).
20001221.16:24:01: 00466: (3)EVENT  : RequestList: received v1/v2c request
(FOUND)(community)(cid)(cname)(filter_tag): : (FALSE), (publuc), (), (), ().
20001221.16:24:01: 00466: (7)DEBUG  : Vacm: getViewName for: (model) (name) (level) (type)
(context): (1), (publuc), (1), (1), ().
20001221.16:24:01: 00466: (7)DEBUG  : Vacm: getGroupName: (model) (name): (1), (publuc),
(1.3.6.1.6.3.16.1.2.1.3.1.6.112.117.98.108.117.99).
20001221.16:24:02: 00466: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com)(type): (2085432443), (1), (213.24.152.111/1032), (SNMPv1),
(publuc), (161).
20001221.16:24:02: 00466: (3)EVENT  : RequestList: received v1/v2c request
(FOUND)(community)(cid)(cname)(filter_tag): : (FALSE), (publuc), (), (), ().
20001221.16:24:02: 00466: (7)DEBUG  : Vacm: getViewName for: (model) (name) (level) (type)
(context): (1), (publuc), (1), (1), ().
20001221.16:24:02: 00466: (7)DEBUG  : Vacm: getGroupName: (model) (name): (1), (publuc),
(1.3.6.1.6.3.16.1.2.1.3.1.6.112.117.98.108.117.99).
20001221.16:24:03: 00466: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com)(type): (2085432443), (1), (213.24.152.111/1032), (SNMPv1),
(publuc), (161).
20001221.16:24:03: 00466: (3)EVENT  : RequestList: received v1/v2c request
(FOUND)(community)(cid)(cname)(filter_tag): : (FALSE), (publuc), (), (), ().
20001221.16:24:03: 00466: (7)DEBUG  : Vacm: getViewName for: (model) (name) (level) (type)
(context): (1), (publuc), (1), (1), ().
20001221.16:24:03: 00466: (7)DEBUG  : Vacm: getGroupName: (model) (name): (1), (publuc),
(1.3.6.1.6.3.16.1.2.1.3.1.6.112.117.98.108.117.99).
20001221.16:24:04: 00466: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com)(type): (2085432443), (1), (213.24.152.111/1032), (SNMPv1),
(publuc), (161).
20001221.16:24:04: 00466: (3)EVENT  : RequestList: received v1/v2c request
(FOUND)(community)(cid)(cname)(filter_tag): : (FALSE), (publuc), (), (), ().
20001221.16:24:04: 00466: (7)DEBUG  : Vacm: getViewName for: (model) (name) (level) (type)
(context): (1), (publuc), (1), (1), ().
20001221.16:24:04: 00466: (7)DEBUG  : Vacm: getGroupName: (model) (name): (1), (publuc),
(1.3.6.1.6.3.16.1.2.1.3.1.6.112.117.98.108.117.99).
20001221.16:24:05: 00466: (2)EVENT  : RequestList: request received
(id)(siz)(fro)(ver)(com)(type): (2085432443), (1), (213.24.152.111/1032), (SNMPv1),
(publuc), (161).
20001221.16:24:05: 00466: (3)EVENT  : RequestList: received v1/v2c request
(FOUND)(community)(cid)(cname)(filter_tag): : (FALSE), (publuc), (), (), ().
20001221.16:24:05: 00466: (7)DEBUG  : Vacm: getViewName for: (model) (name) (level) (type)
(context): (1), (publuc), (1), (1), ().
20001221.16:24:05: 00466: (7)DEBUG  : Vacm: getGroupName: (model) (name): (1), (publuc),
(1.3.6.1.6.3.16.1.2.1.3.1.6.112.117.98.108.117.99).

User abort
--------------------------------------------------------------------------------------

what wrong ?

>
>
> Hope that helps.
>
> Best regards,
>   Jochen

Shvedko Pavel




More information about the AGENTPP mailing list