[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-coders
Subject:    Re: How to update the tabe using dataset
From:       Robert Story <rstory () freesnmp ! com>
Date:       2010-06-22 16:03:15
Message-ID: 20100622120315.44286df9 () freesnmp ! com
[Download RAW message or body]

On Tue, 15 Jun 2010 21:03:49 +0530 Prakash wrote:
P> I am using net-snmp 5.4.2.1 and created template code using
P> "mib2c.create-dataset.conf" file for the attached ABC-MIB file.
P> 
P> That subagent will read the data.txt file and created each row for each line
P> in that file.
P> 
P> An alarm was registered in "abc.c" to update the table but I don't know how
P> to get the rows using index number.

The create-dataset code is specifically intended for data that is within the
agent and only modified via set requests, so there isn't currently an easy way
to manipulate the data directly. I suggest you choose another helper, like
table_dataset.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic