|
When configuring ipMonitor to monitor event log files on a remote server, there may be instances when the Event Log Monitor cannot be used. For example, if: |
On such occasions, you can use the Evntwin.exe Windows utility and the SNMP Trap Monitor to monitor for specific events in Event Log files. There are a number of advantages to this setup:
The SNMP Trap Monitor listens for incoming traps sent from remote systems and network devices. When a trap is received, it is analyzed to determine if an Information Alert should be sent. If the incoming trap matches the pre-configured trap filtering settings, an Information Alert is sent as configured in a related Profile.
The following diagram illustrates this process:

The above diagram shows that the Evntwin.exe process detects the set condition in the Event Log and sends a trap to the ipMonitor installation. When the trap is received, an Information Alert is sent.
Before creating a SNMP Trap Monitor to implement the example outlined in this tutorial, ensure that the Windows SNMP Service has been configured and enabled on the remote system:
Step 1 - On the remote system:
If the SNMP Service has not been installed:
The SNMP Service on the remote system must be configured to send traps to the ipMonitor installation:

Step 2- On the ipMonitor host:
The SNMP Trap Service must be disabled on the ipMonitor host machine (otherwise, it will interfere with the SNMP Trap Monitor):
Note: If the SNMP component was not installed on the ipMonitor host, the SNMP Trap Service will not be listed. In that case, please proceed to the next section.
You must also ensure that the ipMonitor installation is configured to listen to incoming traps:

Beginning with Windows 2000, Windows Operating Systems now include the Eventwin.exe utility. This utility allows you to configure the remote system to forward specific event(s) to another system using an SNMP trap. Since Eventwin.exe is a graphical tool that connects to the Event viewer, it's easy to select which event(s) should be forwarded to the ipMonitor installation. More information on the Evntwin.exe utility can be found in the Additional Information section of this tutorial.
This tutorial illustrates how the Evntwin.exe utility can be used to help monitor specific security events on a remote system. Throughout this article, we will be referring to the following events:
Event ID: 529 | Type: Failure | Audit Description: Logon Failure | Reason: Unknown user name or bad password
Event ID: 533 | Type: Failure | Audit Description: Logon Failure | Reason: User not allowed to logon at this computer
For a more comprehensive list of suggested Security Events to monitor, refer to the Additional Information section of this tutorial.
Note: The Evntwin.exe utility is only able to send traps for security events visible in the system's Security log. In order to log security events, the Audit policy must be activated on the system:



Note: Clicking the Settings button from the Custom Settings window will allow you to view and configure general settings for the traps to be sent. For example, you may choose to control the maximum number of traps to be sent within a specific amount of time.

The resulting process will parse the Security Event Log file and will send a trap when the specified Event IDs are detected. Since evntwin.exe was previously configured, it will run by default when the server is rebooted without requiring you to be logged in.
| Monitor Name | SNMP Trap :: Event trap |
| Monitor Type | SNMP Trap |
| Community | public |
| Allowed IP Address Range (start) | 10.0.0.0 |
| Allowed IP Address Range (end) | 10.255.255.255 |
| Generic Type | Any |
| Enterprise OID | 1.3.6.1.4.1.311.1.13.1.* |
Note: The imported Monitor is initially disabled. This allows you to make changes to the default settings before the Monitor is enabled to go live in a production environment. Once the Monitor is imported, the following settings will need to be verified (and if necessary, modified) for the Monitor:
To learn more about modifying the above parameters, please refer to the 'Configuring the SNMP Trap Monitor' section of this tutorial.
|
TIP For detailed instructions regarding importing XML files into your ipMonitor installation, please refer to the tutorial entitled "How to Import and Export Configuration Settings". |
For the purposes of this tutorial, we'll be referring to the preconfigured Monitor included in the XML resource download. Alternatively, you can create a new Monitor by clicking the Monitors menu option and then clicking Add a Monitor. Choose the SNMP Trap Monitor from the Multi-Transaction / QA category.



Note: For this setup, it is not necessary to analyze and filter the incoming traps based on their bindings.

The SNMP Trap Monitor uses Information Alerts to notify you that a trap was received. The Information Alert can use the Default Content Generator, or you can create a Custom Content Generator to include the content of the received trap in the Information Alert being sent.
For more information regarding Information Alerts and Content Generators, refer to the Information Alerts section of ipMonitor's Context-Sensitive Help system. The Context-Sensitive Help can be accessed by clicking the Help link located in the top right corner of ipMonitor's Administration web interface.
Evntwin.exe
For more information regarding the Evntwin.exe utility, refer to the following Microsoft technical article:
http://www.microsoft.com/technet/prodtechnol/sms/sms2/proddocs/admhelp/sms2hl18.mspx
SNMP Trap Monitor
For more information regarding the SNMP Trap Monitor, refer to the Monitors section of ipMonitor's Context-Sensitive Help system, and then select Monitor Types, followed by QA Trap. The Context-Sensitive Help can be accessed by clicking the Help link located in the top right corner of ipMonitor's Administration web interface.
Event IDs to Monitor
To monitor additional events, refer to the list of suggested Event IDs below. Please note that this is not a comprehensive list of all available events that can be monitored.For information on other features and concepts related to those discussed in this article, refer to the following ipMonitor resources:
< Back
![]()
Last Updated: April 4, 2006 | What did you think of this topic?