Array-user problem
"Mats M Lindberg" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi!
Has anybody been successful writing a subagent with the examplecode from
NET-SNMP-TUTORIAL-MIB.txt
<http://www.net-snmp.org/tutorial-5/toolkit/mib_module/NET-SNMP-TUTORIAL-MIB
.txt> (Writing a subagent) with the array-user option?
I'm using NET-SNMP-5.4.1 and the following files:
Makefile <http://openhpi.sourceforge.net/subagent-manual/c167.html#AEN173>
(3.1.1)
Sub-agent <http://openhpi.sourceforge.net/subagent-manual/c167.html#AEN178>
daemon code (example-demon.c 3.1.2)
NET-SNMP-EXAMPLES-MIB.txt
Following two files are generated from
mib2c -c mib2c.array-user.conf netSnmpIETFWGTable (2.1.3.2)
netSnmpIETFWGTable.c
netSnmpIETFWGTable.h
When I send the following command
snmpget -v 2c -c public localhost netSnmpIETFWGTable.0
I get this as a response
NET-SNMP-EXAMPLES-MIB::netSnmpIETFWGTable.0 = No Such Object
available on this agent at this OID
Ive added the lines,
master agentx
rwcommunity public localhost
to the file snmpd.conf.
The snmpd and the example-demon are started as ROOT.
Best regards
Mats
_______________________________
Mats M Lindberg
Software Engineer
Teligent AB
Konsul Jonssons väg 17
P.O. Box 213
SE 14923 Nynäshamn
mail: <mailto:[email protected]> mats.m.lindberg
<mailto:[email protected]> @teligent.se
web: <http://www.teligent.se/> www.teligent.se
phone: +46 (0)8 410 17261
mobile: +46 (0)733 117261
fax: +46 (0)8 520 193 36
_______________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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