You can use the Remote Configuration Tool to modify the SNMP trap event configuration on clients remotely, using a package. When using the Remote Event Configuration Tool (Eventcmt.exe), you specify a data file to update event configuration on clients. With the Event to Trap Translator window, you can configure events for one client and then click Export to export the configuration to a text file. You can then use this text file with the tool to configure many clients with the same configuration.
After you run the Remote Event Configuration Tool, it generates a status MIF file in the Windows NT Temp directory of the client computer to indicate the success or failure of the operation. The tool also generates a log file (Eventcmt.log) with more detailed information, which it places in the SMS client logs directory.
There are two versions of Eventcmt: One for the Intel (x86) platform, the other for the Alpha platform. Both platforms are located in the following directory:
SMS\Scripts\00000409\Eventcmt\.
Note If you are connecting to the SMS directory from another computer on the network, the location of this tool appears as SMS_sitecode\Scripts\00000409\Eventcmt\.
The Remote Event Configuration Tool (Eventcmt.exe) uses the following syntax:
eventcmt <config-file><options>
where
config-file is the name and path of the file that contains the event configuration to run on the client. If you use the Event to Trap Translator to create this file, it will have a .cnf filename extension. If you create this file yourself, you can specify a different filename extension; however, when the file is exported, the extension will be changed to .cnf.Configuration files are text files that can contain comments (preceded by a semicolon) and configuration statements. Configuration statements use the following syntax:
#pragma [ADD|DELETE] EventLog "EventSource" EventID count time
#pragma [ADD_TRAP_DEST|DELETE_TRAP_DEST] community address
where
ADD or DELETE
ADD_TRAP_DEST or DELETE_TRAP_DEST
Note This tool will automatically stop and start the SNMP Service if you use the ADD_TRAP_DEST or DELETE_TRAP_DEST options. However, if you use the /Nostopstart option, the SNMP Service will not be interrupted.
Related Topics
Event to Trap Translator Overview
Translating SNMP Traps Overview