-----Original Message----- From: Daniel Hobi [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 2:24 AM To: [EMAIL PROTECTED] Cc: Wilde, Donald Subject: Re: Compiled variable code in net-snmp-5.4
On 12.04.2007 02:13, [EMAIL PROTECTED] wrote: > Okay, by manually patching agent/mibgroup/mib_module_inits.h after > ./configure, I can get > > snmpwalk -v 2c -c mystring localhost dell > > ... to work, showing me all the props I've manually patched into that > file. > > However, snmpget of any one of the props does not work, returning 'No > such object'. I realize that this is a kludge, and I hope Somebody Who > Knows will kindly correct my obvious lack of understanding and show me > how to fix this properly. ;-] You may need to add a trailing index, such as: # snmpget -v 2c -c mystring localhost drsProductName.0 Or just use snmpgetnext: # snmpgetnext -v 2c -c mystring localhost drsProductName Regards, Daniel I found a strange thing... The gets started working when I took the quotes off --with-enterprise-oid="674". Thanks for the tips, Daniel1 -- Don Wilde 512-723-8255 Dell, Incorporated Austin, Texas, USA ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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
