[SNMP4J] AGENT : registering new MoScalars after the agent was started

Frank Fock fock at agentpp.com
Mon Aug 8 09:10:28 CEST 2005


Hi Matthieu,

It is impossible (and not wanted) in SNMP to synchronize data changes
on the agentside with the manager. Since there is no connection between
manager and agent and since the manager not necessarily request data
with a single request, you cannot make sure that your agent's data does
not change between two manager requests.

Consequently, the manager has to take care (i.e. check by lastChange
timestamps of the agent's data that can be requested along with the data)
that the data it retrieves is consistent.

Best regards,
Frank

Matthieu Casanova wrote:

>Hi, I have an agent and sometimes I add new OID or remove some (all under 
>the same hierarchy).
>In fact I add a new root oid with some sub oids :
>
>for example my root is
>1.2.3.4.3
>I want to add those oids :
>1.2.3.4.3.1234.0
>1.2.3.4.3.1234.1
>1.2.3.4.3.1234.2
>1.2.3.4.3.1234.3
>1.2.3.4.3.1234.4
>
>Users will do walks on 1.2.3.4.3.
>So when I add the OIDS, I want them to get all 
>1.2.3.4.3.1234.0
>1.2.3.4.3.1234.1
>1.2.3.4.3.1234.2
>1.2.3.4.3.1234.3
>1.2.3.4.3.1234.4
>
>or none of them. And when I remove them I want them to get none of those.
>So is it possible to synchronize the agent to be sure to do not have broken 
>datas ?
>
>Matthieu
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>  
>


-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com





More information about the SNMP4J mailing list