PDA

Click to See Complete Forum and Search --> : SNMP v1 or v2c - help needed! (hard one)


vbzero
Jul 4th, 2001, 03:36 PM
OK - to understand the situation I'll have to explain the scenario:

There are 3 sources:

MG-Soft MIB Browser, NetManager, Copl

These sources send traps to an agent called "saruman".

This agent is written in java and simulates a machine that sends signals back. This agent communicates over the SNMP protocoll.

At this time the agent is not able to send traps.

It can do the following commands:

Get
Get Next
Set

Get Types: 1. Get (Nid), 2. Get (rNid) --- (Get Next is not required)Set Types: 1. Set (Nid), 2. Set (rNid), 3. Set (IP)

Now the java app should check when all 3 cases of the set types are present:

Set (Nid) + Set (rNid) + Set (IP)

If this case is present, the agent is allowed to send traps to the IP which it is connected to.

thx in advance

vbzero
Jul 4th, 2001, 03:39 PM
P.S.: If you need to know the source code of the existing agent, ask - I'll send you the .zip file.