Dave:
/usr/local/bin/snmpgetnext ... system 
SNMPv2-MIB::sysDescr.0 = STRING: QNX sotm 6.2.1 2003/05/17-02:28:40edt
x86pc
 /usr/local/bin/snmpgetnext ... ucdavis
ucdavis: Unknown Object Identifier (Sub-id not found: (top) -> ucdavis)

I use the following line to configure in QNX:
./configure --enable-mini-agent --with-defaults
--with-out-transports="Callback Unix" --with-transports="UDP"
--with-out-transports="TCP"
--with-out-mib-modules="agent/mibII/vacm_config"
--with-mib-modules="fss4180LCantenna" --enable-privacy
--with-openssl=yes --with-out-mib-modules="smux agentx"
--disable-perl-cc-checks --disable-embedded-perl --without-perl-modules
--with-default-snmp-version="3"

May be I should "--with-mib-modules= agent/mibII/vacm_config", right?

Thanks
Chi

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Thursday, January 28, 2010 2:30 PM
To: Guan, Chi @ Datron
Cc: [email protected]
Subject: Re: How to disable/enable SNMP V1 and V2 on the fly?

2010/1/28  <[email protected]>:
> I don't think the UCD-SNMP-MIB is included in this agent,

It's certainly part of a default build.
You'd have to explicitly exclude it.


> When I do
> #/usr/local/bin/snmpget -u test-agent -l authPriv -a MD5 -A
test_authkey -x DES -X test_privkey 192.168.83.4
UCD-SNMP-MIB::versionUpdateConfig.0
> I got the following error
> UCD-SNMP-MIB::versionUpdateConfig.0 = No Such Object available on this
agent at this OID

What information can you see using these settings?
What does  "snmpgetnext .... system"  show?
What about "snmpgetnext ...  ucdavis" ?

Dave

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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

Reply via email to