Dave,
*It's not clear whether this is the Sun or the Net-SNMP agent. *
But the oid error happen when the sun master agent is not running ...


*Which agent is responsible for this MIB object ?
*it's the net-snmp agent code which implements this mib ...
I dont' know if that answer to this question...


I remove the proxy line of snmpd.conf file,
and I execute following command :

/usr/local/bin/snmpwalk -v 1 -c public localhost:7075 =

..1.3.6.1.4.1.2390.1.3.1

the end of answer is now correctly :
SNMPv2-SMI::enterprises.2390.1.3.1.15.2.1.0 =3D INTEGER: 0
SNMPv2-SMI::enterprises.2390.1.3.1.15.2.2.0 =3D INTEGER: 0
SNMPv2-SMI::enterprises.2390.1.3.1.15.2.3.0 =3D INTEGER: 0
SNMPv2-SMI::enterprises.2390.1.3.1.100.1.0 =3D INTEGER: 7679
SNMPv2-SMI::enterprises.2390.1.3.1.100.2.0 =3D INTEGER: 7018
SNMPv2-SMI::enterprises.2390.1.3.1.100.3.0 =3D INTEGER: 91
SNMPv2-SMI::enterprises.2390.1.3.1.100.4.0 =3D INTEGER: 1
SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 =3D INTEGER: 2


I excute the following to use the master agent
/usr/local/bin/snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2390.1.3.1

the end of answer is not correctly :
SNMPv2-SMI::enterprises.2390.1.3.1.15.2.1.0 =3D INTEGER: 0
SNMPv2-SMI::enterprises.2390.1.3.1.15.2.2.0 =3D INTEGER: 0
SNMPv2-SMI::enterprises.2390.1.3.1.15.2.3.0 =3D INTEGER: 0
SNMPv2-SMI::enterprises.2390.1.3.1.100.1.0 =3D INTEGER: 7679
SNMPv2-SMI::enterprises.2390.1.3.1.100.2.0 =3D INTEGER: 7018
SNMPv2-SMI::enterprises.2390.1.3.1.100.3.0 =3D INTEGER: 91
SNMPv2-SMI::enterprises.2390.1.3.1.100.4.0 =3D INTEGER: 1
SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 =3D INTEGER: 2
SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 =3D ""
Error: OID not increasing: SNMPv2-SMI::enterprises.2390.1.3.1.9999.0
>=3D SNMPv2-SMI::enterprises.2390.1.3.1.9999.0



I launch the agent with command :


I request it with:
/usr/local/bin/snmpgetnext -v 1 -c public localhost:7075 =

enterprises.2390.1.3.1.9999.0
SNMP-VIEW-BASED-ACM-MIB::vacmContextName."" =3D STRING:

I obtain exactly this packet on the side of the agent :

Received 48 bytes from UDP: [127.0.0.1]:51097
0000: 30 2E 02 01 00 04 06 70 75 62 6C 69 63 A1 21 02 0......public.!.
0016: 04 57 4D 47 AA 02 01 00 02 01 00 30 13 30 11 06 .WMG.......0.0..
0032: 0D 2B 06 01 04 01 92 56 01 03 01 CE 0F 00 05 00 .+.....V........

Received SNMP packet(s) from UDP: [127.0.0.1]:51097
GETNEXT message
-- SNMPv2-SMI::enterprises.2390.1.3.1.9999.0

Sending 46 bytes to UDP: [127.0.0.1]:51097
0000: 30 2C 02 01 00 04 06 70 75 62 6C 69 63 A2 1F 02 0,.....public...
0016: 04 57 4D 47 AA 02 01 00 02 01 00 30 11 30 0F 06 .WMG.......0.0..
0032: 0B 2B 06 01 06 03 10 01 01 01 01 00 04 00 .+............



I request it with with sun master agent running :
/usr/local/bin/snmpgetnext -v 1 -c public localhost =

enterprises.2390.1.3.1.9999.0
SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 =3D ""


I obtain exactly this packet on the side of the agent :
NET-SNMP version 5.4

Received 48 bytes from UDP: [127.0.0.1]:51069
0000: 30 2E 02 01 00 04 06 6E 65 74 6D 61 6E A1 21 02 0......netman.!.
0016: 04 7D 17 B0 FE 02 01 00 02 01 00 30 13 30 11 06 .}.........0.0..
0032: 0D 2B 06 01 04 01 92 56 01 03 01 CE 0F 00 05 00 .+.....V........

Received SNMP packet(s) from UDP: [127.0.0.1]:51069
GETNEXT message
-- SNMPv2-SMI::enterprises.2390.1.3.1.9999.0

Sending 46 bytes to UDP: [127.0.0.1]:51069
0000: 30 2C 02 01 00 04 06 6E 65 74 6D 61 6E A2 1F 02 0,.....netman...
0016: 04 7D 17 B0 FE 02 01 00 02 01 00 30 11 30 0F 06 .}.........0.0..
0032: 0B 2B 06 01 06 03 10 01 01 01 01 00 04 00 .+............

I don't see the forwarding to the master agent ...


Sandrine.

Dave Shield a =E9crit :
> On 22/05/07, Sandrine MONOT wrote:
>> /usr/local/bin/snmpwalk -v 1 -c public localhost:7075
>> .1.3.6.1.4.1.2390.1.3.1

>
>> SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 =3D INTEGER: 2
>> SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 =3D ""
>> Error: OID not increasing: SNMPv2-SMI::enterprises.2390.1.3.1.9999.0
>> >=3D SNMPv2-SMI::enterprises.2390.1.3.1.9999.0

>
>
>> After start sun master agent with /etc/init.d/init.sma commands
>> I request agent whith following commands
>> /usr/local/bin/snmpwalk -v 1 -c public localhost =


>> .1.3.6.1.4.1.2390.1.3.1
>>
>> I obtain same answer ...

>
> Which agent is responsible for this MIB object? The Net-SNMP
> agent or the Sun one? I'm assuming it's the Sun agent.
>
> If you remove the "proxy" line from the Net-SNMP config, does
> it behave correctly?
>
>
>
>> So I deduce that sun master agent and my agent net-snmp are working =


>> good ?
>> You confirm me that ?

>
> Well *something* is not working properly.
> It's not clear whether this is the Sun or the Net-SNMP agent.
>
>
> I note that you've kept the '-d' flag when starting the Net-SNMP agent,
> so presumably you can see the packet dumps in your logs.
> Try running
>
> /usr/local/bin/snmpgetnext -v 1 -c public localhost:7075
> enterprises.2390.1.3.1.9999.0
>
>
> What is logged as a result of this command?
> You should see four packets dumps - one coming in from the
> "snmpgetnext" command, a second for forwarding this request
> on to the Sun agent, followed by the response from the Sun
> agent, and finally returning the result to snmpgetnext.
>
> Please post these four packet dumps.
>
> Dave
>



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders