Simulate SNMP devices for DX Infrastructure Management testing and troubleshooting

book

Article ID: 186149

calendar_today

Updated On:

Products

CA Spectrum CA Performance Management - Usage and Administration CA eHealth

Issue/Introduction

This article provides some basic steps for simulating SNMP devices in the lab for testing and troubleshooting, etc

Environment

Windows OS

- CA Spectrum
- CA Performance Management
- DX Infrastructure Management

Resolution

This document assumes the below:

  •      You are familiar with the sapwalk2 utility.
  •       You have an SNMP walk output file(s) of customer SNMP devices.

If you do not have a SNMP Walk utility or SNMP walk file of a device, please see this article on using Sapwalk2 utility: https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=13592


Here are steps to simulate customer SNMP devices in your lab.

 

  1. Download and install the simulator on your Windows machine.

https://sourceforge.net/projects/snmpsim/files/snmpsim/0.2.4/snmpsim-0.2.4-setup-win32.exe

 

NOTE: If Microsoft Visual C++ 2008 Redistributable (x86) is not installed, please install it separately.

 

  1. Create a data directory where you place the walk file. For example c:\snmpdata.

 

  1. Please ensure that you walk file meets the below criteria:

 

- Was created through the sapwalk2 utility

- All commented lines are removed from the output

- File extension is .sapwalk

 

  1. Place the walk file to data directory

 

  1. From a command line run:

 

C:\Program Files (x86)\SNMP Simulator>snmpsimd --agent-udpv4-endpoint=192.168.35.111:161 --data-dir=c:\snmpdata --v2c-arch

 

Where 192.168.35.111 is the IP address of the Windows machine.

The name of the file will be community name.

 

NOTE: Windows SNMP Service needs to be shutdown

NOTE: The community string will be the name of the file.

For example, a file test01.sapwalk is in the data directory, so test01 is community name.