On Mon, 8 Aug 2005 18:24:14 +0100 Charlotte wrote:
HC> I have had some success in getting my net-snmp 4.2.1 snmpd to work

That's an older version. You should upgrade to at least 4.2.6, if not
something more recent like 5.2.1.2.

HC> >/usr/local/share/snmp/snmpd.conf: line 134: Warning: Unknown token:
HC> proc.
HC> /usr/local/share/snmp/snmpd.conf: line 198: Warning: Unknown token:
HC> exec.
HC> /usr/local/share/snmp/snmpd.conf: line 249: Warning: Unknown token:
HC> disk.
HC> /usr/local/share/snmp/snmpd.conf: line 278: Warning: Unknown token:
HC> load.

Looks like you didn't configure in some of the ucd mibs. Try configuring
--with-mib-modules=ucd-snmp,ucd-snmp/disk.

HC> >snmpset -v 2c localhost password system.sysLocation.0 s "the Tea room"
HC> system.sysLocation.0 = the Tea room
HC> 
HC> >snmptranslate  -Td UDP-MIB:udpLocalPort
HC>   SYNTAX        INTEGER (0..65535) 
HC> 
HC> > snmpget -v 2c localhost password UDP-MIB:udpLocalPort
HC> udp.udpTable.udpEntry.udpLocalPort = No Such Object available on this
HC> agent

Note that for scalars, you must tack on a '.0', as you did for sysLocation.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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