Re: IPV6 support
"Brian A. Seklecki" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Reza: There is definatly something fucking wrong with the IPv6 MIB support in the RHEL4 version of Net-SNMP (5.1.x). Of course, the entire platform is fucking Bitrot Extradorinare(R). Its amazing that people like me actually pay for it, including myself. Anyway, compare the following: --------- RHEL4 + 5.1.2 seklecki@as00:/home/seklecki$ /usr/sbin/si$ /usnmpd -v NET-SNMP version: 5.1.2 Web: http://www.net-snmp.org/ Email: [email protected] $ snmptable -v2c -c blah as00 ipv6IfTable IPV6-MIB::ipv6IfTable: No entries -------------- NetBSD/i386 RELENG_4 with Net-SNMP 5.4.2.1: cauldron-4-i386:/usr/pkgsrc/net/net-snmp/work/net-snmp-5.4.2.1$ sudo ./agent/snmpd -f -c /usr/pkg/etc/snmpd.conf No log handling enabled - turning on stderr logging NET-SNMP version 5.4.2.1 $ ./apps/snmptable -v2c -c testing localhost ipv6IfTable Connection from UDP: [0.0.0.0]->[127.0.0.1]:-108 Connection from UDP: [0.0.0.0]->[127.0.0.1]:-108 SNMP table: IPV6-MIB::ipv6IfTable ipv6IfDescr ipv6IfLowerLayer ipv6IfEffectiveMtu ipv6IfReasmMaxSize ipv6IfIdentifier ipv6IfIdentifierLength ipv6IfPhysicalAddress ipv6IfAdminStatus ipv6IfOperStatus ipv6IfLastChange pcn0 SNMPv2-SMI::zeroDotZero 1500 octets ? ? ? 0:c:29:c1:50:d2 up up ? lo0 SNMPv2-SMI::zeroDotZero 33192 octets ? ? ? [Tue Dec 02 @ 06:28 PM] seklecki@cauldron-nbsd-releng-4-i386:/usr/pkgsrc/net/net-snmp/work/net-snmp-5.4.2.1$ ./apps/snmptable -v2c -c testing localhost ipv6IfStatsTable Connection from UDP: [0.0.0.0]->[127.0.0.1]:-110 Connection from UDP: [0.0.0.0]->[127.0.0.1]:-110 Connection from UDP: [0.0.0.0]->[127.0.0.1]:-110 Connection from UDP: [0.0.0.0]->[127.0.0.1]:-110 Connection from UDP: [0.0.0.0]->[127.0.0.1]:-110 SNMP table: IPV6-MIB::ipv6IfStatsTable ipv6IfStatsInReceives ipv6IfStatsInHdrErrors ipv6IfStatsInTooBigErrors ipv6IfStatsInNoRoutes ipv6IfStatsInAddrErrors ipv6IfStatsInUnknownProtos ipv6IfStatsInTruncatedPkts ipv6IfStatsInDiscards ipv6IfStatsInDelivers ipv6IfStatsOutForwDatagrams ipv6IfStatsOutRequests ipv6IfStatsOutDiscards ipv6IfStatsOutFragOKs ipv6IfStatsOutFragFails ipv6IfStatsOutFragCreates ipv6IfStatsReasmReqds ipv6IfStatsReasmOKs ipv6IfStatsReasmFails ipv6IfStatsInMcastPkts ipv6IfStatsOutMcastPkts 10 0 0 0 0 0 0 0 10 0 5 0 0 0 0 0 0 0 10 5 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 2 There is definately at least some preliminary support there. My configure line was: ./configure --enable-shared --with-defaults --sysconfdir=/usr/pkg/etc --with-libwrap=/usr/lib [email protected] --with-sys-location=defaultlocation --with-logfile=none --with-persistent-directory=/var/net-snmp --with-mibdirs=\$HOME/.snmp/mibs:/usr/pkg/share/snmp/mibs:/usr/pkg/lib/tcl/tnm2.1.10/mibs:/usr/local/share/snmp/mibs --with-mib-modules="smux host ucd-snmp/diskio mibII/ipv6" --with-dummy-values --disable-embedded-perl --enable-ipv6 --without-openssl --prefix=/usr/pkg --host=i386--netbsdelf --mandir=/usr/pkg/man checking for and configuring mib modules to use... smux host ucd-snmp/diskio mibII/ipv6 default_modules. smux host ucd-snmp/diskio mibII/ipv6 default_modules smux/smux host/hr_system host/hr_storage host/hr_device host/hr_other host/hr_proc host/hr_network host/hr_print host/hr_disk host/hr_partition host/hr_filesys host/hr_swrun host/hr_swinst util_funcs mibII/ifTable mibII/at mibII/var_route mibII/route_write mibII/ip snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities hardware/memory hardware/cpu mibII/interfaces mibII/ipAddr snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats snmpv3/usmConf snmpv3/usmUser mibII/system_mib mibII/sysORTable mibII/snmp_mib mibII/tcp mibII/icmp mibII/udp mibII/vacm_vars mibII/setSerialNo ucd-snmp/proc ucd-snmp/versioninfo ucd-snmp/pass ucd-snmp/pass_persist ucd-snmp/disk ucd-snmp/loadave agent/extend ucd-snmp/errormib ucd-snmp/file ucd-snmp/dlmod ucd-snmp/proxy ucd-snmp/logmatch ucd-snmp/memory ucd-snmp/vmstat notification/snmpNotifyTable snmp-notification-mib/snmpNotifyFilterTable notification/snmpNotifyFilterProfileTable notification-log-mib/notification_log target/snmpTargetAddrEntry target/snmpTargetParamsEntry target/target target/target_counters agent/nsTransactionTable agent/nsModuleTable agent/nsDebug agent/nsCache agent/nsLogging agent/nsVacmAccessTable agentx/master agentx/subagent disman/event/mteScalars disman/event/mteTrigger disman/event/mteTriggerTable disman/event/mteTriggerDeltaTable disman/event/mteTriggerExistenceTable disman/event/mteTriggerBooleanTable disman/event/mteTriggerThresholdTable disman/event/mteTriggerConf disman/event/mteEvent disman/event/mteEventTable disman/event/mteEventSetTable disman/event/mteEventNotificationTable disman/event/mteEventConf disman/event/mteObjects disman/event/mteObjectsTable disman/event/mteObjectsConf disman/schedule/schedCore disman/schedule/schedConf disman/schedule/schedTable utilities/override utilities/execute utilities/iquery hardware/memory/hw_mem hardware/memory/memory_netbsd hardware/cpu/cpu hardware/cpu/cpu_sysctl if-mib/data_access/interface mibII/tcpTable mibII/udpTable mibII/vacm_context mibII/vacm_conf header_complex snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable agentx/protocol agentx/client agentx/master_admin agentx/agentx_config snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access . checking if directories need to be created... . checking default mib files to read... :HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:UCD-DISKIO-MIB:IPV6-ICMP-MIB:IPV6-MIB:IPV6-TCP-MIB:IPV6-UDP-MIB:IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB:NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO-MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:SNMP-FRAMEWORK-MIB:SNMP-MPD-MIB:SNMP-USER-BASED-SM-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-TM:NET-SNMP-VACM-MIB checking for netinet/ip6.h... yes checking for netinet6/in6_var.h... yes checking for netinet6/in6_pcb.h... yes checking for netinet6/ip6_var.h... yes checking for netinet6/tcp6.h... no checking for netinet6/tcp6_fsm.h... no checking for netinet6/nd6.h... no checking for netinet6/tcp6_timer.h... no checking for netinet6/tcp6_var.h... no ~BAS On Tue, 2 Dec 2008, Brian A. Seklecki wrote: > > I would start by rolling your binaries on the same system you were running, > unless you can verify that the MD5 sum of all 5000k files on your Linux boxes > match, then you're playing with fire. > > There has never been, in the history of GNU/Linux, two identical systems. :) > > Secondly, we're still not sure if the issue is: > > 1) IPv6 transport of SNMP data > 2) Access to SNMP IPv6 MIBs. > > I haven't looked at the V6 mibs; I'm just starting to dabble in V6. > > ~BAS > > On Tue, 2 Dec 2008, Reza Salehi wrote: > >> I know it has been going many E-mails back and forth regarding the IPV6 >> support and I appreciate your help and support.However I couldn't get a >> clear answer on this. >> >> >> >> My question is : Does snmpd (5.2.1) agent support any IPV6'MIB >> implementation if we compile it with the following flag: >> >> --with-transport="UDPIPv6 TCPIPv6" --with-modules=mibII/ipv6" >> --enable-ipv6 >>> >> >> >> If it does, could somebody please tell me which MIB's object? >> >> >> Best Regards, >> >> Reza >> --- On Tue, 12/2/08, Reza Salehi <[email protected]> wrote: >> From: Reza Salehi <[email protected]> >> Subject: Re: IPV6 support >> To: "Wes Hardaker" <[email protected]> >> Cc: "Brian A. Seklecki" <[email protected]>, "SNMP FORUM" >> <[email protected]> >> Date: Tuesday, December 2, 2008, 11:23 AM >> >> I used the following flag: >> --with-transport="UDPIPv6 TCPIPv6" --with-modules=mibII/ipv6" to >> along with -- enable-ipv6 >> >> I cant still see any IPV6'MIB implementation. >> >> >> I build snmpd on different machine and copy it over to my target machine to >> test. >> I only copy snmpd executable file ..Do I need to copy different >> files(library,..) over ,as well? >> I have 5.2 net-snmpd installed on my target machine. >> >> Regards, >> Reza >> >> >> --- On Tue, 12/2/08, Wes Hardaker <[email protected]> wrote: >> >> From: Wes Hardaker <[email protected]> >> Subject: Re: IPV6 support >> To: [email protected] >> Cc: >> "Wes Hardaker" <[email protected]>, "Brian A. >> Seklecki" <[email protected]>, "SNMP FORUM" >> <[email protected]> >> Date: Tuesday, December 2, 2008, 10:30 AM >> >>>>>>> On Tue, 2 Dec 2008 08:51:09 -0800 (PST), Reza Salehi >> <[email protected]> said: >> >> RS> Thanks Wes. So the question is which IPV6'MIBs has been implemented >> RS> in part of snmpd when we configure it with --enable--ipv6?? >> >> Well, do realize that the --enable-ipv6 flag turns on the apps being >> able to speak SNMP over IPv6. >> >> to turn on mib implementations you need to use the --with-mib-modules >> flag. In theory, though, it turns out that the table you want should be >> in the mibII/ipv6 module (I was wrong). >> -- >> Wes Hardaker >> Sparta, Inc. >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >> 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 >> > > l8* > -lava (Brian A. Seklecki - Pittsburgh, PA, USA) > http://www.spiritual-machines.org/ > > "Show me a young conservative and I'll show you someone with no heart. > Show me an old liberal and I'll show you someone with no brains." > ~ Winston Churchill l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Show me a young conservative and I'll show you someone with no heart. Show me an old liberal and I'll show you someone with no brains." ~ Winston Churchill ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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