Re: Net-SNMP 5.5 on Windows Server 2008 with own subagent, can"t set scalar
Julian Cebulla <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <6FB3B6199FD7754699E03FD87E9653480506CFB7@exchange2010.hq.ferrari-electronic.de> |
On 30 July 2010 09:53, Julian Cebulla <[email protected]> wrote: >> I run the snmpd.exe like this "snmpd.exe >> -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable >> -m ALL -d -f" to see everything. >> But when I make a snmpwalk at .1.3.6.1.4.1 I doesn't get anything >> from my enterprise OID. >Try doing an "snmpget" request for one OID within your private enterprise. >What does the agent display? (i.e. the debug output with the packet dumps) >If you have any debug code in your MIB handler, try turning this on. >What do you see? Presumably the initialisation routine is being called >when the subagent first starts. > When you issue a GET request, does it get as far as the subagent MIB handler? I tried "snmpget" on a OID from my private enterprise. At the first time I get "Timeout: no Response from localhost" When I try it a second time I get "FERRARI-ELECTRONIC-MIB::Productname = No Such Object available on this agent at this OID" Here the output from the agent from start to the second "snmpget" call: "No log handling enabled - turning on stderr logging duplicate registration (mibII/snmp, C:\Windows\System32\wow64mib.dll)handler istration failed. Turning on AgentX master support. NET-SNMP version 5.5 Received 80 bytes from TCP: [127.0.0.1]:53925 0000: 01 01 00 00 00 00 00 00 00 00 00 00 C2 0A 00 00 ............A... 0016: 3C 00 00 00 00 00 00 00 05 04 00 00 01 00 00 00 <............... 0032: 88 1F 00 00 03 00 00 00 02 00 00 00 0D 00 00 00 ................ 0048: 19 00 00 00 4E 65 74 2D 53 4E 4D 50 20 41 67 65 ....Net-SNMP Age 0064: 6E 74 58 20 73 75 62 2D 61 67 65 6E 74 00 00 00 ntX sub-agent... Sending 88 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C2 0A 00 00 ............A... 0016: 44 00 00 00 40 02 00 00 00 00 00 00 04 00 00 00 D...@........... 0032: 05 04 00 00 01 00 00 00 88 1F 00 00 03 00 00 00 ................ 0048: 02 00 00 00 0D 00 00 00 19 00 00 00 4E 65 74 2D ............Net- 0064: 53 4E 4D 50 20 41 67 65 6E 74 58 20 73 75 62 2D SNMP AgentX sub- 0080: 61 67 65 6E 74 00 00 00 agent... Received 44 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 C3 0A 00 00 ............A... 0016: 18 00 00 00 00 7F 00 00 04 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 01 00 00 00 01 00 00 00 tD.......... Sending 52 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C3 0A 00 00 ............A... 0016: 20 00 00 00 49 02 00 00 00 00 00 00 05 00 00 00 ...I........... 0032: 04 04 00 00 01 00 00 00 74 44 00 00 01 00 00 00 ........tD...... 0048: 01 00 00 00 .... Received 44 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 C4 0A 00 00 ............Ä... 0016: 18 00 00 00 00 7F 00 00 04 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 01 00 00 00 02 00 00 00 tD.......... Sending 52 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C4 0A 00 00 ............Ä... 0016: 20 00 00 00 4F 02 00 00 00 00 00 00 05 00 00 00 ...O........... 0032: 04 04 00 00 01 00 00 00 74 44 00 00 01 00 00 00 ........tD...... 0048: 02 00 00 00 .... Received 44 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 C5 0A 00 00 ............Å... 0016: 18 00 00 00 00 7F 00 00 04 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 01 00 00 00 03 00 00 00 tD.......... Sending 52 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C5 0A 00 00 ............Å... 0016: 20 00 00 00 54 02 00 00 00 00 00 00 05 00 00 00 ...T........... 0032: 04 04 00 00 01 00 00 00 74 44 00 00 01 00 00 00 ........tD...... 0048: 03 00 00 00 .... Received 44 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 C6 0A 00 00 ............Æ... 0016: 18 00 00 00 00 7F 00 00 04 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 01 00 00 00 04 00 00 00 tD.......... Sending 52 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C6 0A 00 00 ............Æ... 0016: 20 00 00 00 58 02 00 00 00 00 00 00 05 00 00 00 ...X........... 0032: 04 04 00 00 01 00 00 00 74 44 00 00 01 00 00 00 ........tD...... 0048: 04 00 00 00 .... Received 44 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 C7 0A 00 00 ............Ç... 0016: 18 00 00 00 00 7F 00 00 04 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 01 00 00 00 05 00 00 00 tD.......... Sending 52 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C7 0A 00 00 ............Ç... 0016: 20 00 00 00 5F 02 00 00 00 00 00 00 05 00 00 00 ..._........... 0032: 04 04 00 00 01 00 00 00 74 44 00 00 01 00 00 00 ........tD...... 0048: 05 00 00 00 .... Received 44 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 C8 0A 00 00 ............E... 0016: 18 00 00 00 00 7F 00 00 04 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 01 00 00 00 06 00 00 00 tD.......... Sending 52 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C8 0A 00 00 ............E... 0016: 20 00 00 00 64 02 00 00 00 00 00 00 05 00 00 00 ...d........... 0032: 04 04 00 00 01 00 00 00 74 44 00 00 01 00 00 00 ........tD...... 0048: 06 00 00 00 .... Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 C9 0A 00 00 ............É... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 02 00 00 00 01 00 00 00 01 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 C9 0A 00 00 ............É... 0016: 24 00 00 00 6A 02 00 00 00 00 00 00 05 00 00 00 $...j........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 02 00 00 00 ........tD...... 0048: 01 00 00 00 01 00 00 00 ........ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 CA 0A 00 00 ............E... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 02 00 00 00 01 00 00 00 02 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 CA 0A 00 00 ............E... 0016: 24 00 00 00 6F 02 00 00 00 00 00 00 05 00 00 00 $...o........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 02 00 00 00 ........tD...... 0048: 01 00 00 00 02 00 00 00 ........ Received 52 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 CB 0A 00 00 ............E... 0016: 20 00 00 00 00 7F 00 00 06 04 00 00 01 00 00 00 ............... 0032: 74 44 00 00 03 00 00 00 01 00 00 00 01 00 00 00 tD.............. 0048: 01 00 00 00 .... Sending 60 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 CB 0A 00 00 ............E... 0016: 28 00 00 00 74 02 00 00 00 00 00 00 05 00 00 00 (...t........... 0032: 06 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 01 00 00 00 01 00 00 00 01 00 00 00 ............ Received 52 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 CC 0A 00 00 ............I... 0016: 20 00 00 00 00 7F 00 00 06 04 00 00 01 00 00 00 ............... 0032: 74 44 00 00 03 00 00 00 01 00 00 00 01 00 00 00 tD.............. 0048: 02 00 00 00 .... Sending 60 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 CC 0A 00 00 ............I... 0016: 28 00 00 00 7A 02 00 00 00 00 00 00 05 00 00 00 (...z........... 0032: 06 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 01 00 00 00 01 00 00 00 02 00 00 00 ............ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 CD 0A 00 00 ............I... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 03 00 00 00 02 00 00 00 01 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 CD 0A 00 00 ............I... 0016: 24 00 00 00 82 02 00 00 00 00 00 00 05 00 00 00 $...,........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 02 00 00 00 01 00 00 00 ........ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 CE 0A 00 00 ............I... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 03 00 00 00 02 00 00 00 02 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 CE 0A 00 00 ............I... 0016: 24 00 00 00 86 02 00 00 00 00 00 00 05 00 00 00 $...+........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 02 00 00 00 02 00 00 00 ........ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 CF 0A 00 00 ............I... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 03 00 00 00 02 00 00 00 03 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 CF 0A 00 00 ............I... 0016: 24 00 00 00 8B 02 00 00 00 00 00 00 05 00 00 00 $...<........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 02 00 00 00 03 00 00 00 ........ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 D0 0A 00 00 ............D... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 03 00 00 00 02 00 00 00 04 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 D0 0A 00 00 ............D... 0016: 24 00 00 00 91 02 00 00 00 00 00 00 05 00 00 00 $...`........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 02 00 00 00 04 00 00 00 ........ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 D1 0A 00 00 ............Ñ... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 03 00 00 00 02 00 00 00 05 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 D1 0A 00 00 ............Ñ... 0016: 24 00 00 00 98 02 00 00 00 00 00 00 05 00 00 00 $............... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 02 00 00 00 05 00 00 00 ........ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 D2 0A 00 00 ............O... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 03 00 00 00 02 00 00 00 06 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 D2 0A 00 00 ............O... 0016: 24 00 00 00 9E 02 00 00 00 00 00 00 05 00 00 00 $...z........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 03 00 00 00 ........tD...... 0048: 02 00 00 00 06 00 00 00 ........ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 D3 0A 00 00 ............O... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 04 00 00 00 01 00 00 00 01 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 D3 0A 00 00 ............O... 0016: 24 00 00 00 A3 02 00 00 00 00 00 00 05 00 00 00 $...£........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 04 00 00 00 ........tD...... 0048: 01 00 00 00 01 00 00 00 ........ Received 52 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 D4 0A 00 00 ............O... 0016: 20 00 00 00 00 7F 00 00 06 04 00 00 01 00 00 00 ............... 0032: 74 44 00 00 04 00 00 00 01 00 00 00 02 00 00 00 tD.............. 0048: 01 00 00 00 .... Sending 60 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 D4 0A 00 00 ............O... 0016: 28 00 00 00 AA 02 00 00 00 00 00 00 05 00 00 00 (...ª........... 0032: 06 04 00 00 01 00 00 00 74 44 00 00 04 00 00 00 ........tD...... 0048: 01 00 00 00 02 00 00 00 01 00 00 00 ............ Received 48 bytes from TCP: [127.0.0.1]:53925 0000: 01 03 00 00 06 00 00 00 00 00 00 00 D5 0A 00 00 ............O... 0016: 1C 00 00 00 00 7F 00 00 05 04 00 00 01 00 00 00 ................ 0032: 74 44 00 00 04 00 00 00 01 00 00 00 03 00 00 00 tD.............. Sending 56 bytes to TCP: [127.0.0.1]:53925 0000: 01 12 00 00 06 00 00 00 00 00 00 00 D5 0A 00 00 ............O... 0016: 24 00 00 00 B0 02 00 00 00 00 00 00 05 00 00 00 $...°........... 0032: 05 04 00 00 01 00 00 00 74 44 00 00 04 00 00 00 ........tD...... 0048: 01 00 00 00 03 00 00 00 ........ Received 43 bytes from UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A0 1C 02 0).....public .. 0016: 02 0B 44 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 05 00 ......t.... Received SNMP packet(s) from UDP: [127.0.0.1]:52199->[0.0.0.0] GET message -- FERRARI-ELECTRONIC-MIB::Productname Sending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 01 00 00 00 02 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Received 43 bytes from UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A0 1C 02 0).....public .. 0016: 02 0B 44 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 05 00 ......t.... Received SNMP packet(s) from UDP: [127.0.0.1]:52199->[0.0.0.0] GET message -- FERRARI-ELECTRONIC-MIB::Productname Sending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 03 00 00 00 04 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 01 00 00 00 02 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Received 43 bytes from UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A0 1C 02 0).....public .. 0016: 02 0B 44 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 05 00 ......t.... Received SNMP packet(s) from UDP: [127.0.0.1]:52199->[0.0.0.0] GET message -- FERRARI-ELECTRONIC-MIB::Productname Sending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 05 00 00 00 06 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 01 00 00 00 02 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 03 00 00 00 04 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Received 43 bytes from UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A0 1C 02 0).....public .. 0016: 02 0B 44 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 05 00 ......t.... Received SNMP packet(s) from UDP: [127.0.0.1]:52199->[0.0.0.0] GET message -- FERRARI-ELECTRONIC-MIB::Productname Sending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 07 00 00 00 08 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 05 00 00 00 06 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 01 00 00 00 02 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 03 00 00 00 04 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Received 43 bytes from UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A0 1C 02 0).....public .. 0016: 02 0B 44 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 05 00 ......t.... Received SNMP packet(s) from UDP: [127.0.0.1]:52199->[0.0.0.0] GET message -- FERRARI-ELECTRONIC-MIB::Productname Sending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 09 00 00 00 0A 00 00 00 ........ .... 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 07 00 00 00 08 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 05 00 00 00 06 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 01 00 00 00 02 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 03 00 00 00 04 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Received 43 bytes from UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A0 1C 02 0).....public .. 0016: 02 0B 44 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 05 00 ......t.... Received SNMP packet(s) from UDP: [127.0.0.1]:52199->[0.0.0.0] GET message -- FERRARI-ELECTRONIC-MIB::Productname Sending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 0B 00 00 00 0C 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 09 00 00 00 0A 00 00 00 ........ .... 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 07 00 00 00 08 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 05 00 00 00 06 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 01 00 00 00 02 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 03 00 00 00 04 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 0B 00 00 00 0C 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 09 00 00 00 0A 00 00 00 ........ .... 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 07 00 00 00 08 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Resending 44 bytes to TCP: [127.0.0.1]:53925 0000: 01 05 00 00 06 00 00 00 05 00 00 00 06 00 00 00 ................ 0016: 18 00 00 00 04 04 00 00 01 00 00 00 74 44 00 00 ............tD.. 0032: 01 00 00 00 01 00 00 00 00 00 00 00 ............ Sending 43 bytes to UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A2 1C 02 0).....public¢.. 0016: 02 0B 44 02 01 05 02 01 01 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 81 00 ......t.... Sending 43 bytes to UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A2 1C 02 0).....public¢.. 0016: 02 0B 44 02 01 05 02 01 01 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 81 00 ......t.... Sending 43 bytes to UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A2 1C 02 0).....public¢.. 0016: 02 0B 44 02 01 05 02 01 01 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 81 00 ......t.... Sending 43 bytes to UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A2 1C 02 0).....public¢.. 0016: 02 0B 44 02 01 05 02 01 01 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 81 00 ......t.... Sending 43 bytes to UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A2 1C 02 0).....public¢.. 0016: 02 0B 44 02 01 05 02 01 01 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 81 00 ......t.... Sending 43 bytes to UDP: [127.0.0.1]:52199->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A2 1C 02 0).....public¢.. 0016: 02 0B 44 02 01 05 02 01 01 30 10 30 0E 06 0A 2B ..D......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 81 00 ......t.... Received 43 bytes from UDP: [127.0.0.1]:52200->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A0 1C 02 0).....public .. 0016: 02 7F A1 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..¡......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 05 00 ......t.... Received SNMP packet(s) from UDP: [127.0.0.1]:52200->[0.0.0.0] GET message -- FERRARI-ELECTRONIC-MIB::Productname Sending 43 bytes to UDP: [127.0.0.1]:52200->[0.0.0.0] 0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A2 1C 02 0).....public¢.. 0016: 02 7F A1 02 01 00 02 01 00 30 10 30 0E 06 0A 2B ..¡......0.0...+ 0032: 06 01 04 01 81 88 74 01 01 80 00 ......t.... " I have debug code in my MIB handler but there is nothing like an error. Yes the initialization routine is only called when the subagent first starts. At every GET request on an OID from my enterprise OID I get the same result. Could it be that subagent can't answer the agent cause the initialization routine is only called at the begin? Thanks for the rapid answer! ________________________________ Ferrari electronic AG Ruhlsdorfer Str. 138 14513 Teltow (bei Berlin) Handelregister Potsdam: HRB 12091 Vorstand: Johann Deutinger, Ulrich Dziergwa, Dr. Hartmut Fetzer Aufsichtsrat: Peter Mark Droste (Vorsitzender) ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users