|
Introduction
Anybody who has manually created rules in Mom will
know it's a tedious process. Normally administrators
will make use of the 16,000 assorted rules supplied
through the default and Microsoft Applications
Management Packs. On the other hand there may be
occasions where you want to go your own way. You
can either copy and paste rules from existing processing
rule groups or you can do the following, which is to
import the event rule logic directly out of a message
dll file. This is astonishingly powerful but there
are no references to it in the Mom literature. A
bit of keeping mum about mom.
Importing a Message Dll
- Create a new Processing Rule Group e.g. Test
- Right click the new Processing Rule Group and
select Import Dynamic Link Library
- The ImportDll tools should automatically connect
to your database but if not, Select Database
from the File menu
- Once connected, select Browse from the File
menu
- This allows you to select any computer and shows a
list of the Win2k event logs present on this
machine. Select your server
- Double click the Application Log to expand
a list of all the message Dlls that are registered
to write to this log file
- Select Dr Watson and click Open. All
the possible messages that Dr Watson can write to
the Application log are listed. This can be
very useful if you are trying to workout which
parameter in the message is which.
- Select Event Manager from the Import
menu
- De-select Interactive Import and click OK.
The import may take a few minutes.
- When the message confirming the import is complete
appears, close the ImportDll tool and expand the
Event rules under your Processing Rule Group.
You should have approximately 48 new rules all
correctly configured. Fortunately they are all
disabled by default. You can selectively
enable them as required. Try this out on a few
other message dll's . The results are amazing!!
|