I try to build a small scotty agent for Linux and Irix 6.2. I use scotty
2.1.7 and 2.1.8 with tcl/tk 7.6/4.2.
I get an error when I try to get atNetAddress (1.3.6.1.2.1.3.1.1.3).
It seams for me that there is not a big difference between atTable mib and
ipNetToMediaTable mib. Therefore I write the same value to atNetAddress and
ipNetToMediaAddress (1.3.6.1.2.1.4.22.1.3). I can read ipNetToMediaTable
without problems. But I get the error on the agent
unknown asn1 type 0x15
(snmp send reply)
unknown asn1 type 0x15
(snmp send reply)
by reading atTable. If I don't set atNetAddress instance I can read the atTable.
So whats wrong? The way I write to the mib instance is i.e.
$s instance 1.3.6.1.2.1.3.1.1.1.$n IfIndex($n) 1
$s instance 1.3.6.1.2.1.3.1.1.2.$n PhysAddress($n) "08:00:09:A7:CD:F0"
$s instance 1.3.6.1.2.1.3.1.1.3.$n NetAddress($n) "193.25.22.88"
n is an index 1,2,...
IfIndex, PhysAddress, NetAddress are global arrays
On the manager side I get this message:
genErr 0 {1.3.6.1.2.1.3.1.1.2.1 NULL {}}
Thanks for your help.
Matthias
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.