Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tables integrity

Status
Not open for further replies.

jnpk

Programmer
Oct 31, 2006
1
PL
Hello,
My question is about data integrity in snmp tables.

I use snmp (with own MIB) to transmit large tables, there can be about 10000 elements in single table. The data in table are dynamic it can changed a few time per day. The problem can occur when table content changes during data transmission.

I am implementator of Agent and currently I have managed this problem by keeping snapshot of data which is visible via snmp. This snapshot is created or updated only when special variable is accessed. This special variable 'cnt' contains number of rows and it is right before table in OID order. So if snmpwalk is fired starting this variable, the snapshot is created and next read right. And reader can be sure that whole snapshot can be read until someone touch cnt var. My client ask me why there is no data when he read table without previously read cnt.

Is there any normalization or standard which can say my solution is wrong or not or maybe someone has suggestion how it can be done better.

regards
jp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top