Shortcut Menu

Skip

Main Navigation

Choose your language

You are here:

ActiveXperts.com > Support > Knowledge base > Network Component > Snmp and SnmpTraps

Activexperts Support Pages

Browse "Snmp and SnmpTraps" Questions:

Q1200010: I'm not able to use SNMP, even when I try to query SNMP on my local machine. Result: Error 22218 or Error 22219.
Network Component requires an SNMP Agent running on your local computer. By default, SNMP is not installed on a Windows platform. This applies to all major Windows platforms, i.e. Windows XP, Windows Vista, Windows 7, Windows 8, Windows 2003 and Windows 2008. To install the SNMP agent on a Windows XP/Vista/7/8/2003/2008 platform, please do the following: Open the Control Panel, choose 'Add/Remove Programs' and select the 'Add/Remove Windows Components' icon from the left-pane; Select 'Man...
Network Component > SNMP and SNMP Traps

Q1200015: I'm not able to use SNMP on my Windows 2003 station. The Windows SNMP service is already running.
On Windows 2003, you need to configure the SNMP service before you can actually use it. You can configure the service in the following way: Open the 'Services' applet from the "Administrative Tools' group in the 'Start' menu; Select 'SNMP Service' and select 'Properties' from the context menu (right mouse-button); In the 'Accepted Community Names' list, add a new community, for instance: 'Public' (READ_ONLY); Enable 'Accept SNMP Packets from any host', or add all hosts that you want to allow....
Network Component > SNMP and SNMP Traps

Q1200030: I want to test Network Component's SNMP features, but I don't want to use our internal Cisco switches for that. Is there any simulation software available for testing?
ActiveXperts doesn't deliver simulation software. However, there are some good SNMP simulation software products available. A recommended product is AdventNet Simulation Toolkit. For details, click here.
Network Component > SNMP and SNMP Traps

Q1200035: When I try the SET command, Network Component tells me that it is not possible to write. It looks like there's no permission to perform a SET operation. What is the problem?
First of all, SET operation must be performed on an OID that is READWRITE, otherwise it won't work. In general, most SNMP OID's are READ ONLY. Second, make sure that your SNMP Service has write permission on the community. By default, your SNMP Service it is NOT configured like that! Configure your SNMP Service as shown here in order to allow SNMP Set operations.
Network Component > SNMP and SNMP Traps

Q1200040: Is possible to define specific and generic traps using Network Component SnmpTrapManager Object?
Yes this is possible. In SNMP V1, there is an extra field in the SNMP PDU, in SNMP V2, the generic trap is represented by an OID. You only have to set the 'GenericTrap' property of the SnmpTrap object as demonstrated in the code snippet below: Option Explicit ' Declare objects Dim objSnmpTrapManager, objSnmpTrap, objSnmpConstants, objSnmpObject ' Create object Set objSnmpTrapManager = CreateObject ( "ActiveXperts.SnmpTrapManager" ) Set objSnmpTrap = CreateObject ( "ActiveXperts.Snm...
Network Component > SNMP and SNMP Traps

Q1220010: I can't receive SNMP traps on the machine where Network Component is installed. I'm sure I have configured the remote trap sender well. What can be the reason?
The following Windows service must run: 'SNMP Trap Service'. This service is available on a default Windows installation. The SNMP Trap Service can be installed by installing the 'SNMP Agent' (described in FAQ #1200010). Please note that the startup-type of this service is set to 'Manual' by default, so it is not started automatically!
Network Component > SNMP and SNMP Traps

Q1220020: Do I need the 'SNMP Trap Service' to be installed on my machine in order to send out SNMP traps?
No; this service is only required to receive SNMP traps.
Network Component > SNMP and SNMP Traps

Q1220030: I want to change the displayname and description of the ActiveXperts SNMP Trap Service. Is this possible ?
Yes, it can be done. You only have to modify two registry entries. Start the registry editor and look for the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASTrpSvc In this key, you can change the value of the Description and DisplayName. Do not change any of the other values. After modifying this values you have to restart your PC.
Network Component > SNMP and SNMP Traps

Error codes
Click here to view the full list of error codes