Hi Wes,
Thanks for your reply. I have been having a hard time implementing my own
MIB extensions. The tutorials on the www.net-snmp.org sometimes result in
page not found. :-(.
1. Right now I am stuck in get_next. I do not understand where I get the
instance of which I am doing the next. I am doing get_next with the browser
and put the instance in, but I do not know how to get it in
fileSystemTable_get_next_data_point. It is not in put_index_data->name.
fileSystemTable_get_next_data_point(void **my_loop_context,
void **my_data_context,
netsnmp_variable_list * put_index_data,
netsnmp_iterator_info *mydata)
2. And I have this error when I run the agent. Not sure if this is a
problem: Cannot find module (MY-MIB). I do not think I saw it before. I
went through checklist again and can't figure it out.
[EMAIL PROTECTED] agent]# ./snmpd -f -L -d
Cannot find module (MY-MIB): At line 0 in (none)
Sending 44 bytes to 192.168.2.161
0000: 30 2A 02 01 00 04 06 70 75 62 6C 69 63 A4 1D 06 0*.....public...
0016: 0A 2B 06 01 04 01 BF 08 03 02 0A 40 04 C0 A8 0D [EMAIL PROTECTED]
0032: AA 02 01 00 02 01 00 43 01 0E 30 00 .......C..0.
Sending 95 bytes to 192.168.2.161
0000: 30 5D 02 01 01 04 06 70 75 62 6C 69 63 A7 50 02 0].....public.P.
0016: 04 33 29 67 B6 02 01 00 02 01 00 30 42 30 0D 06 .3)g.......0B0..
0032: 08 2B 06 01 02 01 01 03 00 43 01 0E 30 17 06 0A .+.......C..0...
0048: 2B 06 01 06 03 01 01 04 01 00 06 09 2B 06 01 06 +...........+...
0064: 03 01 01 05 01 30 18 06 0A 2B 06 01 06 03 01 01 .....0...+......
0080: 04 03 00 06 0A 2B 06 01 04 01 BF 08 03 02 0A .....+.........
Sending 95 bytes to 192.168.2.161
0000: 30 5D 02 01 01 04 06 70 75 62 6C 69 63 A6 50 02 0].....public.P.
0016: 04 33 29 67 B6 02 01 00 02 01 00 30 42 30 0D 06 .3)g.......0B0..
0032: 08 2B 06 01 02 01 01 03 00 43 01 0E 30 17 06 0A .+.......C..0...
0048: 2B 06 01 06 03 01 01 04 01 00 06 09 2B 06 01 06 +...........+...
0064: 03 01 01 05 01 30 18 06 0A 2B 06 01 06 03 01 01 .....0...+......
0080: 04 03 00 06 0A 2B 06 01 04 01 BF 08 03 02 0A .....+.........
snmpd: send_trap: Timeout
NET-SNMP version 5.1.2
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wes
Hardaker
Sent: Wednesday, December 22, 2004 12:07 PM
To: Alex Koifman
Cc: [email protected]
Subject: Re: Generating (mib2c) code for multiple tables
>>>>> On Mon, 20 Dec 2004 10:34:10 -0500, "Alex Koifman"
<[EMAIL PROTECTED]> said:
Alex> 2. Still no answer on mib2c.mfd.conf. Is it better to use MFD
Alex> instead of mib2c.iterate_access.conf?
Well, better is subjective of course. They have different ways to
look at things which is their primary difference. I wrote the
original iterate code, but yet I'm now using the MFD stuff mostly
myself because it's a bit more powerful and flexible and does a better
job reducing the amount of work you have to do. By again, it's my
personal preference.
You need Net-SNMP 5.2 to use the MFD code though, which is why you
don't have it if you're using 5.1.2.
--
Wes Hardaker
Sparta
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders