Fooey.
After reporting that 5.1.2.pre3 built fine on FBSD 4.7 and 4.5 I have to
report that I now find that snmpd is not reporting the interface table
correctly. It reports IF-MIB::ifNumber.0 correctly, then seems to
'skip' the rest of the table.
There are no views defined in snmpd.conf that would preclude viewing
interface data....
When I get time, I'll go back and pipe the build output to a log to see
if I missed something, but the build process never seemed to fail. It
is possible I missed a warning somewhere.
Here's what I'm talking about:
[EMAIL PROTECTED] [10]$ snmpwalk -v 2c -c public localhost interfaces
IF-MIB::ifNumber.0 = INTEGER: 8
[EMAIL PROTECTED] [11]$
that's it!
Note that ifconfig -a *does* reveal 8 interfaces: tl0 fxp0 fxp1 xl0 lo0
ppp0 faith0 tun0
FWIW, here's the snmpwalk , with debug:
[EMAIL PROTECTED] [10]$ snmpwalk -v 2c -c public localhost interfaces
IF-MIB::ifNumber.0 = INTEGER: 8
[EMAIL PROTECTED] [11]$ snmpwalk -v 2c -d -c public localhost interfaces
Sending 41 bytes to 127.0.0.1
0000: 30 27 02 01 01 04 06 70 75 62 6C 69 63 A1 1A 02
0'.....public...
0016: 04 64 D1 20 9B 02 01 00 02 01 00 30 0C 30 0A 06 .d.
.......0.0..
0032: 06 2B 06 01 02 01 02 05 00 .+.......
Received 44 bytes from 127.0.0.1
0000: 30 2A 02 01 01 04 06 70 75 62 6C 69 63 A2 1D 02
0*.....public...
0016: 04 64 D1 20 9B 02 01 00 02 01 00 30 0F 30 0D 06 .d.
.......0.0..
0032: 08 2B 06 01 02 01 02 01 00 02 01 08 .+..........
IF-MIB::ifNumber.0 = INTEGER: 8
Sending 43 bytes to 127.0.0.1
0000: 30 29 02 01 01 04 06 70 75 62 6C 69 63 A1 1C 02
0).....public...
0016: 04 64 D1 20 9C 02 01 00 02 01 00 30 0E 30 0C 06 .d.
.......0.0..
0032: 08 2B 06 01 02 01 02 01 00 05 00 .+.........
Received 54 bytes from 127.0.0.1
0000: 30 34 02 01 01 04 06 70 75 62 6C 69 63 A2 27 02
04.....public.'.
0016: 04 64 D1 20 9C 02 01 00 02 01 00 30 19 30 17 06 .d.
.......0.0..
0032: 12 2B 06 01 02 01 03 01 01 01 02 01 81 40 81 28
[EMAIL PROTECTED](
0048: 02 81 7D 02 01 02 ..}...
[EMAIL PROTECTED] [12]$
Any help or pointers appreciated.
/doug
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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