Re: Can not get remote engineTime.

Zongjun <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
*To list the complete information, I have all the output from
net-snmp-config below:*
*
[user@localhost ~]$ net-snmp-config --cflags
-DINET6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I. -I/usr/include/net-snmp
[user@localhost ~]$ net-snmp-config --base-cflags
-DINET6 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE -Dlinux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
-I/usr/include/net-snmp
[user@localhost ~]$ net-snmp-config --libs
-L/usr/lib64 -L/usr/lib64 -lnetsnmp -lcrypto -lm -L/usr/lib64/lib -lwrap
[user@localhost ~]$ net-snmp-config --agent-libs
-L/usr/lib64 -L/usr/lib64 -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers
-lnetsnmp -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm -lsensors
-L/usr/lib64/lib -lwrap -Wl,-E
-Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lresolv
-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
[user@localhost ~]$ net-snmp-config --netsnmp-libs
-L/usr/lib64 -lnetsnmp
[user@localhost ~]$ net-snmp-config --external-libs
-L/usr/lib64 -lcrypto -lm -L/usr/lib64/lib -lwrap
[user@localhost ~]$ net-snmp-config --netsnmp-agent-libs
-L/usr/lib64 -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp
[user@localhost ~]$ net-snmp-config --external-agent-libs
-L/usr/lib64 -ldl -lrpm -lrpmio -lpopt -lz -lcrypto -lm -lsensors
-L/usr/lib64/lib -lwrap -Wl,-E
-Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lresolv
-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
[user@localhost ~]$ net-snmp-config --configure-options
'--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu'
'--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--datadir=/usr/share' '--includedir=/usr/include/net-snmp'
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--enable-static' '--enable-shared'
'--with-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
-DNETSNMP_NO_INLINE' '--with-ldflags=-L/usr/lib64'
'--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log'
'--with-persistent-directory=/var/net-snmp' '--with-mib-modules=host agentx
smux          ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail
 ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable
 ip-mib/ipAddressPrefixTable/ipAddressPrefixTable
 ip-mib/ipDefaultRouterTable/ipDefaultRouterTable
 ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable sctp-mib
ucd-snmp/lmSensors disman/event-mib' '--with-libwrap=/usr/lib64'
'--sysconfdir=/etc' '--enable-ipv6' '--enable-ucd-snmp-compatibility'
'--with-openssl' '--with-pic' '--enable-embedded-perl'
'--enable-mfd-rewrites' '--enable-local-smux'
'--with-sys-contact=root@localhost' 'CFLAGS=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-L/usr/lib64'
'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu'
'target_alias=x86_64-redhat-linux-gnu'
[user@localhost ~]$ net-snmp-config --snmpd-module-list
mibII/ipv6 ucd-snmp/diskio mibII/mta_sendmail
ip-mib/ipAddressPrefixTable/ipAddressPrefixTable
ip-mib/ipDefaultRouterTable/ipDefaultRouterTable ucd-snmp/lmSensors
mibII/system_mib mibII/sysORTable mibII/at mibII/ip mibII/snmp_mib mibII/tcp
mibII/icmp mibII/udp mibII/vacm_vars mibII/setSerialNo ucd-snmp/memory
ucd-snmp/vmstat ucd-snmp/proc ucd-snmp/versioninfo ucd-snmp/pass
ucd-snmp/pass_persist ucd-snmp/disk ucd-snmp/loadave ucd-snmp/extensible
agent/extend ucd-snmp/errormib ucd-snmp/file ucd-snmp/dlmod ucd-snmp/proxy
ucd-snmp/logmatch snmpv3/snmpEngine snmpv3/snmpMPDStats snmpv3/usmStats
snmpv3/usmConf snmpv3/usmUser notification/snmpNotifyTable
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 agentx/master agentx/subagent disman/schedule/schedCore
disman/schedule/schedConf disman/schedule/schedTable utilities/override
utilities/execute utilities/iquery 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
mibII/var_route mibII/route_write util_funcs smux/smux
ip-mib/ipv4InterfaceTable/ipv4InterfaceTable
ip-mib/ipv6InterfaceTable/ipv6InterfaceTable
ip-mib/ipAddressTable/ipAddressTable
ip-mib/ipAddressPrefixTable/ipAddressPrefixTable_interface
ip-mib/ipAddressPrefixTable/ipAddressPrefixTable_data_access
ip-mib/ipDefaultRouterTable/ipDefaultRouterTable_interface
ip-mib/ipDefaultRouterTable/ipDefaultRouterTable_data_access
ip-mib/ipDefaultRouterTable/ipDefaultRouterTable_data_get
ip-mib/ipv6ScopeZoneIndexTable/ipv6ScopeZoneIndexTable
ip-mib/ipIfStatsTable/ipIfStatsTable
ip-mib/ipIfStatsTable/ipIfStatsTable_interface
ip-mib/ipIfStatsTable/ipIfStatsTable_data_access sctp-mib/sctpScalars
mibII/kernel_linux mibII/ipAddr mibII/tcpTable mibII/udpTable
mibII/vacm_context mibII/vacm_conf ip-mib/ip_scalars header_complex
snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable
agentx/protocol agentx/client agentx/master_admin agentx/agentx_config
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
tcp-mib/tcpConnectionTable/tcpConnectionTable
tcp-mib/tcpListenerTable/tcpListenerTable
udp-mib/udpEndpointTable/udpEndpointTable if-mib/data_access/interface
if-mib/ifTable/ifTable_interface if-mib/ifTable/ifTable_data_access
if-mib/ifTable/ifTable
ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_interface
ip-mib/ipv4InterfaceTable/ipv4InterfaceTable_data_access
ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_interface
ip-mib/ipv6InterfaceTable/ipv6InterfaceTable_data_access
ip-mib/ipAddressTable/ipAddressTable_interface
ip-mib/ipAddressTable/ipAddressTable_data_access
ip-mib/data_access/defaultrouter_common
ip-mib/data_access/defaultrouter_linux
ip-mib/ipv6ScopeZoneIndexTable/ipv6ScopeZoneIndexTable_interface
ip-mib/ipv6ScopeZoneIndexTable/ipv6ScopeZoneIndexTable_data_access
ip-mib/data_access/systemstats_common ip-mib/data_access/systemstats_linux
ip-mib/ipIfStatsTable/ipIfStatsTable_data_get sctp-mib/sctpScalars_common
sctp-mib/sctpScalars_linux sctp-mib/sctpTables_common
sctp-mib/sctpAssocRemAddrTable sctp-mib/sctpAssocLocalAddrTable
sctp-mib/sctpLookupLocalPortTable sctp-mib/sctpLookupRemPortTable
sctp-mib/sctpLookupRemHostNameTable sctp-mib/sctpLookupRemPrimIPAddrTable
sctp-mib/sctpLookupRemIPAddrTable sctp-mib/sctpAssocTable
sctp-mib/sctpTables_linux ip-mib/inetNetToMediaTable/inetNetToMediaTable
ip-mib/inetNetToMediaTable/inetNetToMediaTable_interface
ip-mib/inetNetToMediaTable/inetNetToMediaTable_data_access
ip-mib/ipSystemStatsTable/ipSystemStatsTable
ip-mib/ipSystemStatsTable/ipSystemStatsTable_interface
ip-mib/ipSystemStatsTable/ipSystemStatsTable_data_access
if-mib/ifXTable/ifXTable ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable
ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable
hardware/memory/memory_linux hardware/memory/hw_mem hardware/cpu/cpu_linux
hardware/cpu/cpu
snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_interface
snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access
tcp-mib/data_access/tcpConn_common tcp-mib/data_access/tcpConn_linux
tcp-mib/tcpConnectionTable/tcpConnectionTable_interface
tcp-mib/tcpConnectionTable/tcpConnectionTable_data_access
tcp-mib/tcpListenerTable/tcpListenerTable_interface
tcp-mib/tcpListenerTable/tcpListenerTable_data_access
udp-mib/udpEndpointTable/udpEndpointTable_interface
udp-mib/udpEndpointTable/udpEndpointTable_data_access
if-mib/data_access/interface_linux if-mib/data_access/interface_ioctl
ip-mib/data_access/ipaddress_common ip-mib/data_access/ipaddress_linux
ip-mib/data_access/ipv6scopezone_common
ip-mib/data_access/ipv6scopezone_linux ip-mib/data_access/arp_common
ip-mib/data_access/arp_linux ip-mib/data_access/scalars_linux
if-mib/ifXTable/ifXTable_interface if-mib/ifXTable/ifXTable_data_access
ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_interface
ip-forward-mib/ipCidrRouteTable/ipCidrRouteTable_data_access
ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_interface
ip-forward-mib/inetCidrRouteTable/inetCidrRouteTable_data_access
udp-mib/data_access/udp_endpoint_common
udp-mib/data_access/udp_endpoint_linux ip-mib/data_access/ipaddress_ioctl
ip-forward-mib/data_access/route_common
ip-forward-mib/data_access/route_linux
ip-forward-mib/data_access/route_ioctl
*
On Fri, Mar 4, 2011 at 9:57 AM, Zongjun <[email protected]> wrote:

> *Dave,*
> *
> *
> *Thanks so much for your time.*
> *
> *
> *We are using the net-snmp release from Redhat*
> *Red Hat Enterprise Linux Server release 5.3 (Tikanga)*
> *
> *
> *Below is the configuration options*
> *
> net-snmp-config --configure-options
> *
> *
> '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu'
> '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
> '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
> '--datadir=/usr/share' '--includedir=/usr/include/net-snmp'
> '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var'
> '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
> '--infodir=/usr/share/info' '--enable-static' '--enable-shared'
> '--with-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -g -lcrypto
> -DNETSNMP_NO_INLINE' '--with-ldflags=-L/usr/lib64'
> '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log'
> '--with-persistent-directory=/var/net-snmp' '--with-mib-modules=host agentx
> smux          ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail
>  ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable
>  ip-mib/ipAddressPrefixTable/ipAddressPrefixTable
>  ip-mib/ipDefaultRouterTable/ipDefaultRouterTable
>  ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable sctp-mib
> ucd-snmp/lmSensors disman/event-mib' '--with-libwrap=/usr/lib64'
> '--sysconfdir=/etc' '--enable-ipv6' '--enable-ucd-snmp-compatibility'
> '--with-openssl' '--with-pic' '--enable-embedded-perl'
> '--enable-mfd-rewrites' '--enable-local-smux'
> '--with-sys-contact=root@localhost' 'CFLAGS=-O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-L/usr/lib64'
> 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu'
> 'target_alias=x86_64-redhat-linux-gnu'
> *
>
> Zongjun
>
> On Tue, Mar 1, 2011 at 1:30 AM, Dave Shield <[email protected]>wrote:
>
>> On 28 February 2011 19:20, Zongjun <[email protected]> wrote:
>> > Besides our own MIB definitions, it outputs
>> > SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.1."public" = STRING: public
>> > SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.2."public" = STRING: public
>> > SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3."public" = STRING: grppublic
>>    <etc>
>>
>> That's all?   Nothing else?   Not even the system group?   Boggle!
>>
>> As far as I can tell from that list, you should be able to see everything
>> (and it *does* look like a Net-SNMP agent)
>>
>>
>> >> Either:
>> >>    -  the agent has been compiled with a *very* restricted set of MIBs
>> >
>> > How to specify this?
>>
>> This would be specified using the "configure" command when first
>> compiling the agent.   Something like
>>
>>    ./configure --enable-mini-agent --with-out-mib-modules="xxx,yyy,..."
>>
>> But I'm amazed that there is so little visible in the tree.
>> I can't believe that someone would remove things like the system
>> tree and the usmUser table,   but leave the vacm table accessible.
>>
>>
>> Something very strange is happening here.
>>
>>
>> Is this an agent that you compiled yourself, or a vendor-supplied
>> agent, or what?
>>
>> Is there a command "net-snmp-config" on this system?
>> If so, what does
>>      net-snmp-config --configure-options
>>               report?
>>
>> Dave
>>
>
>

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.