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
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