Recording from Real Agents

 



Overview

 

The Recording wizard allows to easily create simulations of actual devices. Once data is captured from a device, any variation on this basic simulation can be created for use with the SNMP Agent Simulator and Network Designer. The wizard is easy-to-use and user-friendly.

 

You can save the recorded configuration and  create multiple copies of the same to simulate a network in the Network Designer. The recorded configuration can also be suitably modified to re-create problems or test configuration variations.

 

Recording from Real Agents

 

Select Configure -> Record from a Real Agent option from the menu bar or click on the record icon from the toolbar. The Recording Wizard is displayed, wherein you have to specify the following details.

 

    On recording the real agent configuration, the configuration must be saved.

 

Log Messages

 

The errors encountered by the simulator, while updating the recorded values are captured in a recordError.log file, in <Simulator Home>/logs directory. The following messages are captured in the log file as shown in the screen shot below:

 

Real Agent Details

 

The log file captures the details about the real agent being recorded, such as Agent Name, Agent Port, Agent Community, Agent Version, Timeout value and number of retries.

 

Empty Values

 

The log file displays the OID of the nodes which contain empty values in the real agent being recorded.

 

For example, if RFC1213 MIB is recorded and the value of the node sysLocation in System group does not contain any value, the following error message is displayed: Empty value obtained for :.1.3.6.1.2.1.1.6.0

 

Data Type Mismatch

 

If there is a data type mismatch between the real agent and the MIB loaded in the simulator, the simulator will record it as empty value. The log file captures any data type mismatches between the real agent and the MIB loaded in the simulator.

 

For example : The syntax of the scalar node sysObjectID with OID .1.3.6.1.2.1.1.2.0, in the real agent is "Object Identifier". In the MIB loaded in the simulator, the same OID has the syntax as "Integer". This error is captured and displayed in the log file.

 

Index Mismatch

 

If the simulator is not able to resolve the index in a particular table while updating the recorded value, an error message will be logged in the log file. The corresponding table will not be updated with the recorded data.

 

Example : Could not get simulated objects for the instance .6.1.192.168.1.224 in the table with oid .1.3.6.1.2.1.3.1.1

 

Scalar and Table Groups Recorded

 

The real agent may or may not have all the scalar and table groups available in the MIB. Similarly, the MIB, may or may not have all the scalar and table groups available in the real agent. The log file captures this information and displays the scalar and table groups actually recorded from the real agent.



Copyright © 1996-2006, AdventNet Inc. All Rights Reserved.