Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.2 KiB

  1. ; EVENTS.CNF
  2. ; This file is used with EVENTCMT.PDF and
  3. ; EVENTCM[i,a].EXE to configure multiple
  4. ; clients.
  5. ; Legal example configuration commands
  6. ; are shown below:
  7. ;To add an event to be translated into a trap:
  8. ;#pragma ADD EventlogFile EventSource EventID Count Period
  9. ;If the Eventlog start-up event ever happens
  10. ;#pragma ADD System "Eventlog" 2147489653
  11. ;If the Eventlog start-up event ever happens twice in 3 minutes
  12. ;#pragma ADD System "Eventlog" 2147489653 2 180
  13. #pragma ADD System "Application Popup" 1073741850
  14. ;To stop an event being translated into a trap:
  15. ;#pragma DELETE EventlogFile EventSource EventID
  16. ;The Eventlog start-up event
  17. ;#pragma DELETE System "Eventlog" 2147489653
  18. ;To add a trap destination
  19. ;#pragma ADD_TRAP_DEST Community Address
  20. ;To add public 193.128.100.100
  21. ;#pragma ADD_TRAP_DEST public 193.128.100.100
  22. ;To add private hostname
  23. ;#pragma ADD_TRAP_DEST private hostname
  24. #pragma ADD_TRAP_DEST public localhost
  25. ;To remove a trap destination
  26. ;#pragma DELETE_TRAP_DEST Community Address
  27. ;To remove public 193.128.100.100
  28. ;#pragma DELETE_TRAP_DEST public 193.128.100.100
  29. ;To remove private hostname
  30. ;#pragma DELETE_TRAP_DEST private hostname