Re: Compiled variable code in net-snmp-5.4
Daniel Hobi <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------- 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