On Fri, 18 Mar 2005 18:45:59 -0800 (PST) Sim wrote: SW> but i don't know how to do still, call snmpset? or other function call?
Yes, you would use snmpset to create new rows in the appropriate tables. You would probably need to be very familiar with the DISMAN event mibs. SW> by the way, i notice also that the oid includes some string in the result, SW> so can we use the string in the oid like these? SW> e.g. SW> snmpget -v2c -c gw1admin 192.168.133.225 SW> DISMAN-EVENT-MIB::mteObjectsID."snmpd.conf"."snmpd.conf1".1 SW> DISMAN-EVENT-MIB::mteObjectsID.snmpd.conf.snmpd.conf1.1: Unknown Object SW> Identifier (Index out of range: snmpd (mteOwner)) SW> SW> why? Your shell eats the quotes, so you have to escape them: snmpget host mteObjectsID.\"snmpd.conf\".\"snmpd.conf1\".1 -- 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 email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users