|
Adiscon Version 5.4 Table of Contents |
Introducing Adiscon EventReporterMicrosoft Windows NT, Windows 2000 and Windows XP are highly capable operating systems (we will call all of them "NT" in the following documentation). However, their standard event reporting mechanisms are rather limited. Administrators seeking complete control over their server environment need to regularly check the server event logs. Adiscon's EventReporter provides central notification of any events logged to the NT system event log. Messages can be delivered via email and syslog protocol. The initial product - called EvntSLog - was specifically written with mixed NT and Unix environments in mind. It supported the syslog protocol only. It is currently in use by many large-scale commercial organizations, universities and government bodies (like the military) all around the world. EventReporter empowers data center operators to integrate NT event logs into their central syslog setup. Administrative duties and exception notification can easily be built via Unix-based scripting. But smaller size organizations also demanded relive from checking server logs. As such, EventReporter allows delivery of NT event notifications via standard Internet email. Each server's events are gathered, filtered according to rules set up by the administrator and - if they matter - forwarded to the admin. Especially small sized organizations operating a single server can rest assured that they won't miss any important log entries. EventReporter can be teamed with Adiscon's WinSyslog and the MoniLog product. In this scenario, it provides a totally centralized and automatted event log collection, monitoring and analysis solution. If you are looking for a solution that not only can forward event information but monitor additional system settings, you might want to have a look at the MonitorWare agent available at www.monitorware.com. EventReporter is also a great tool for computer resellers, consultants and other service providers in need to monitor their customer's systems. The product is easy to install and configure, uses only minimal system resources and is proven to be reliable. Furthermore, it is extremely inexpensive with a per system licensing fee starting at US$ 49. Features
ComponentsEventReporter ClientThe EventReporter Client is used to configure all components and features of EventReporter. The client can also be used to create a configuration profile on a base system. That profile can later be distributed to a large number of target systems. EventReporter ServiceThe EventReporter Service runs as an NT Service and coordinates all log processing and forwarding activity at the monitored system (server or workstation). The service is the only component component that needs to be installed on a monitored system. The EventReporter service is called the product "engine". As such, we call systems with only the service installed "engine-only" installations. The EventReporter service runs in the background without any user intervention. It can be controlled via the control panel "services" applet or the "Computer Management" MMC under Windows 2000. The service operates as follows: After starting, it periodically reads the NT event log. Each message is formatted and then sent to the given syslog daemon or email recipient. After all entries have been read, EventReporter goes to sleep and waits a given amount of time without any processing. This so-called "sleep period" is user configurable. As soon as the service returns from the sleep period, it once again iterates through the NT event logs. This processing continues until the process is stopped. Due to its optimized structure, EventReporter uses only very minimal processing power. How much it uses mainly depends on how long the sleep period is. We recommend a sleep period between 1 and 5 minutes for syslog delivery and some hours up to 1 day for email delivery. However, feel free to customize this value according to your needs. We strongly recommend not to use sleep periods of 500 milliseconds or less (although possible). System RequirementsEventReporter has minimal requirements. The EventReporter client needs roughly 10 MB of disk space. The EventReporter client is optional and needs not to be present on a production system. Engine-only installations require roughly 200 KB of disk space and 2MB of virtual memory. Please note that this is not actual used RAM - RAM usage is roughly 1 MB during iterations (can be higher for very large entries). During the idle period the engine does not need any actual RAM - just swap space. Idle periods are implemented via operation system sleep() calls which do not use any processor cycles at all. Please note that EventReporter is developed under Windows 2000 and XP. It is tested under Windows 2000, XP and NT 4.0. Although not tested under NT 3.5(1), we do not see any reason why it shouldnt perform well in this environment. EventReporter runs on top of Windows NT server and Windows NT Workstation. Under Windows 2000, the 3 additional event logs ("DNS Server", "File Replication Service" and "Directory Service" are automatically supported. The default install set (most probably the one your found this documentation in) contains the executable for the Intel platform. However, there is an ALPHA version available on request. As ALPHA is not supported for Windows 2000 or XP, there are no ALPHA executable for that operating systems. |
InstallationInstallation is quick and easy. To facilitate mass rollouts, EventReporter has two setup modes:
The full install includes both the EventReporter client and service. In large environments, this is typically installed on a "master machine" being used to create the configuration parameters. The Engine-Only install includes the EventReporter service only. In large environments, that is the install process used primarily on a large number of target machines. The EventReporter setup is based on Microsoft Windows Installer technology. So it can easily be integrated into MSI aware tools. All users are highly encouraged to use the full install. It is the default install set downloadable from the EventReporter web site. EventReporter must be installed by a user with administrative permissions. Full InstallThe install set (the ZIP file you downloaded) contains a standard setup program and it's necessary helper files. Please unzip the archive to any directory you like. This can be a local drive, a removable one or a remote share on a file server. A Win32 Unzip program can be found at http://www.winzip.com. After unzipping, simply double-click "setup.exe" and follow the onscreen instructions. Setup.exe will install the EventReporter client and copy the Service process to disk. Full Install mode is highly recommend for first time instalations! Engine-Only InstallThere is no GUI setup program for an engine-only installation. The main purpose of this install mode is to roll out the product to a large number of machines. Actual installation is straightforward
Important
Customization of the EventReporter service is via the registry.
Modifications can be made directly via RegEdit (see documentation on how to
do that) or via the EventReporter client (which must then be installed).
Please note that the registry "Parameters" key ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Users of any prior NT service versions of EventReporter can uninstall the old version via "EvntSlog -u" before installing the new one. Please note that uninstalling the service will also remove all configuration settings. Uninstallation of old service version is not required. All EventReporter service versions are able to work on the configuration settings of previous ones. |
The EventReporter ClientThe EventReporter Client is used to customize the product. It doesn't need to be installed in order to monitor a system. In fact, we recommend so-called "engine only installations" if a large number of machines are to be monitored. The client loads the configuration parameters upon startup. Modifications are saved by clicking the "OK" button. Clicking the "Cancel" button will close the EventReporter Client without saving any modifications. Launching the EventReporter ClientTo run the EventReporter Client, click the "EventReporter Client" icon present in the EventReporter program folder located in the Start menu. The EventReporter Client can also be launched from the command prompt:
Attention Windows XP Limited Users
The General TabThis tab holds the general service parameters. They customize the behavior of all all log processing and formatting.
The Log Specific TabsA number of parameters can be specified on a per-log basis. NT support three different logs: System, Security and Application. Windows 2000 adds 3 more logs: Directory Services, DNS and File Replication Services. The EventReporter Client can be used to customize settings for all of these log types. It has 6 tabs with equal parameters. Their meaning is the same, but each one customizes processing of a specific log type. They are named according to the log types. We describe these parameters only once. Please note: the Windows 2000 logs can only be customized if the EventReporter Client is running on top of Windows 2000 or XP. If running on earlier operating system releases, these tabs are labeled as "Win2K only" and are disabled.
Windows NT event logs can be truncated programmatically or via the NT
Event Viewer program. When a log is truncated, all information is erased
from it. Any entries not already sent by EventReporter will be lost. EventReporter detects event log truncation. If "Report Truncated
Log" is checked, EventReporter will generate a separate message
stating the truncation. This option is most useful in environments where
truncation is not expected and as such might be an indication of system
compromise. If you regularly truncate the NT event logs as part of your day-to-day
operation, we suggest you turn this option off. In this case, we also
recommend using a short sleep period (10,000, which is 10 seconds) to
avoid loosing log entries. Specifies if this NT event log is to be processed at all. If unchecked,
this part of the event log won't be processed. In this case, all other
parameters on the tab are ignored. These checkboxes allow local filtering of the event log. Filtering is
based on the NT event type. There is a checkbox corresponding to each NT
event type. Only checked event types will be processed. Unchecked ones
will be ignored. NT event log records are numbered sequentially, starting at 1. The EventReporter service records the last record processed. This textbox
allows you to override this value. Use it with caution! If you would like a complete dump of a specific NT event log, reset the
"Last Record" to 0. If you missed some events, simply reset it
to some lower value than currently set. It is possible to set "Last
Record" to a higher value. This will suspend event reporting until
that record has been created. We strongly discourage to use this feature
unless definitely needed. The SMTP Properties are used for email event reporting. If email reporting is turned on, reports are forwarded as mail
messages. One mail is generated per NT event log. Mails are only sent if
there is anything to report. If there were no new event log entries since
the last reporting run, no mails are generated. If the event type filter
is, for example, set to "error only" and there are no errors to report
for some days, there won't be any mails appearing. This was specifically
done to prevent overwhelming administrators with unnecessary mail traffic. Please note: if email delivery is turned on for a specific
part of the NT event log, syslog delivery will be turned off for that
part. If checked, event log entries will be delivered by email rather than
syslog protocol. This is called "email delivery mode". Even if email delivery is unchecked, the other email properties can
be configured. This is because the other settings are being used when an
advanced filter action requests email to be sent (which is possible even
though general email delivery has been disabled). Of course, if email
will never be sent, the other configuration settings can be left blank. IP address or resolvable computer name of the SMTP server to be used
for sending mail messages. This server must support forwarding to the
recipient. For performance reasons, we recommend using an IP
address. Email address (e. g. sender@adiscon.com) to be used as the sender
address in outgoing event reports. Email address (e. g. admin@adiscon.com) of the intended recipient.
Only a single email address can be specified. If you would like to send
event reports to a group of people, please create a distribution list in
your email system and specify it's address as the recipient address. Subject line used in outgoing mail. Can be used for automatic
filtering at the recipient site. The subject line can contain place holders that will be replaced with
actual event data before the email is send. This is especially useful
when sending email to cellular phones or pagers, which often display
only the subject line and not the actual message body. The subject line
– after expansion of the replacement characters – can hold a maximum
of 255 characters. Characters beyond this will be truncated. Please note
that some email systems do impose a stricter limit and truncation as
such might occur before the 255 character limit. The following replacement characters can be used inside the subject
line: %s - event source as it is in the Windows event log %i - numeric event id %m - the complete message itself. Please note: this is the complete
message text and can be rather lengthy. As such, it is most probably
subject to truncation. If that occurs, all other information after the
%m replacement character is also truncated. As such, we strongly
recommend using the %m replacement at the end of the subject line only. %% - represents a single % sign. Please note that the subject line will always reflect the values of
the first event included in the email message. If there are
multiple events inside the email, the other ones will not be reflected
in the subject line. So subject line replacement characters are
primarily meant for short notification messages, which are most probably
triggered via the advanced filter configuration. Please note that EventReporter can be instructed to send each event
in a separate email message by the "Send each event in a separate
email" general configuration setting. With that setting, you can
assure that the subject line reflects the exact events. If you consider
this option, please keep in mind that it potentially generates a large
number of emails. Please also keep in mind that most mobile providers (pagers, cell
phones) do limit the number of messages a device can receive via email
per day. After this hard-coded limit has been reached, most of them
simply discard all other messages without any notification. If in doubt,
check with your service provider. This button is available on all log specific tabs except the system.
When pressed, it simply copies all email configuration values from the
system tab to the current one. This enables very quick email
configuration if the same settings are to be used throughout all tabs. This checkbox activates advanced local filtering. If checked, the
filter rule base for this log is processed. Advanced filter rules allow
finer control about which messages are forwarded and which ones not. Click "Advanced" to configure the advanced filter rule base
for a specific log. Information on how to do that can be found in the
following section. The "Advanced" button is only available if
advanced filtering has been enabled. Please see the following section on
how to configure advanced filtering. By default, the Filter Rules checkbox is disabled. The advanced filter configuration dialog is available for all log types.
It is enabled for a specific log type by checking the "Filter
Rules" check box. Advanced filtering works in combination with the basic, priority based
filter mechanism. When EventReporter processes an event, it first checks if
its event type is checked in the "Event types to log" settings. If
it is not checked, the event will be ignored, no matter what is
configured in the advanced filter configuration. If it is checked, the event is to be processed. In this case the advanced
filter configuration is applied. The filter rules are processed from top to
bottom or from number 1 to the highest rule number. This is important,
because as soon as a matching entry is found, this entry is applied. If its
action is set to "Completely Discard", the event will be ignored. If it is set to
"Use Default", the event will be forwarded to whatever event target (syslog
daemon, email recipient) is configured. Starting with release 5.3, there are
additional settings that allow to specifically request these events to be
forwarded to email, syslog OR both together. The available options can be
seen in screen shot 3 below. When working with this settings, keep in mind
that the default action is whatever is configured in the respective log tab
- so this is either email or syslog. With the filter action, carrying out
both actions on the same event is possible. Please note that rules can be more and less strict matching. In the above
example, rule number 1 filters out event 180 of the ESE97 event source -
only this event. The category is left blank, so it is not used to match.
Rule 2 enables processing of event #20 of the "Print" event source
(this is the printer driver added or removed event). Rule 3 disables (turns
off) all events of the "Print" source. Rule 4 is a rule that
specifically request the Exchange POP 3 logon failure event to be forwarded
both via email and syslog. The effect of this setting
is that This happens, because the specific #20 printer event matches before the
more general one. So if event #20 occurs, rule 2 matches and rule processing
is terminated. Any other printer events will hit rule 3, where they match
(because here only the event source is being matched, all other values are
irrelevant and as such deemed to be matching). Now look at this scenario. Rule #2 and 3 have been exchanged: Now no printer event would ever be reported, because the new rule #2
would always match. In this case, rule #3 would never be processed and as
such event #20 would also be ignored. Now let's focus on rule # 4: Here we do have action #6, "Send syslog and send email". This
action will send both an email notification as well as a syslog message - no
matter what is configured in the log specific tab. It will use the email
settings configured in the log specific tag when sending mail. One last question might be left from the scenario: why are all other
events being reported? Fairly easy: if no rule matches, EventReporter
assumes the event is to be processed by the default action. As such, there is no need for a
"catch-all" rule at the end of the rule set - it is implicitly
placed there by EventReporter. Using clever ordering of the filter rules allows for highly complex
filter scenarios. However, you should also keep in mind that complex rule
sets can be hard to understand and troubleshoot. Please also keep in mind that entered values (e. g. event source names)
can not be verified by the EventReporter client, as all values are
potentially valid. As such typos can not be detected and an ill-behaving
advanced filter configuration can be caused by a simple typo. Please check
your rule sets carefully. The client tries to avoid typos by reading out all
registered event sources at the machine being configured. However, this
might not be the complete set (some might not be correctly registered by the
event source). As such, it is possible to enter any value - but the values
in the list box should be a good starting point. The license tab is used to activate your EventReporter installation after
activation. After evaluation, EventReporter can be activated just by entering a
correct registration name and number. There is no need to reinstall. The
activation information is provided by Adiscon after purchasing. Please note: the EventReporter Client can not verify the
correctness of the registration information. So it will accept any
combination without complaint. However, if the information is incorrect, the
EventReporter service will not switch into active state. For this reason, it
will continue to report that it is unregistered. If you have purchased
EventReporter licenses and are unable to turn off the services' registration
reminder, you should check the exact registration information entered. There
most probably is a typo in it.
Registration Name The registration name is chosen by you. It should
correspond to your organization name, e.g. a company called "AA
Carpenters, Inc." should not chose "AA" as registration
name. This can easily be mistaken and most probably will be rejected by
Adiscon for that reason. With the above scenario, we recommend using the
full company name "AA Carpenters, Inc.". Please note: the registration name is case
sensitive. It must be entered exactly as given. Leading and trailing
spaces are also part of the registration name, so be sure to enter none. Registration Number This number is provided by Adiscon. It is valid for a
specific registration name. Be sure to enter the correct registration
number. The EventReporter Client is unable to detect invalid registration
numbers and as such can not detect any typos. |
TroubleshootingGetting HelpDo you need help with EventReporter or need an important question answered? No problem, there is lots of help available! Please note that all options (except priority support) are also open to evaluating customers. So do not hesitate to try them. Help is available in English and German language. Our local resellers may provide local language support. Please check with them.
Working with an instrumented VersionUnfortunately, no software product is totally bug-free. Due to the complex nature of software development, every product is expected to have some weird bugs that show up only on very rare occasions. We at Adiscon try our very best to avoid such bugs. However, we still see some of these bugs from time to time. If technical support is contacted and we see a bug but are unable to reproduce the error, we offer to created an "instrumented version". That is basically the current product, but with additional debugging codes in it. If the customer agrees to this, we basically try to reproduce the error on the failing system and gather diagnosis information while doing so. We do not sent any information to us automatically - so the process is totally secure. We need a person to send the data to us. Here is how it works. We use a Microsoft API (OutputDebugString) to generate the diagnostic information. As such, we send 2 files as the instrumented version. The first one is evntslog.exe, the new version with diagnosis code. This needs to be copied over the existing installed service. The service must be stopped in order to do so. The other file send is dbmon.exe, a program from Microsoft. It is used to capture the diagnosis information sent from the EventReporter service. It can be copied to any place on the machine's local hard drive. To gather the diagnostic information, start dbmon.exe before starting the EventReporter service. A DOS-box like window will open. Click on it's system menu and select "Properties". Select the "Layout" tab. Adjust the screen buffer size to have a height of at least 1000 (one thousand) - more is better. Click "OK". A new dialog appears asking wether the properties should be applied to just the current window (default option) or the shortcut. Select whatever best fits your needs. If in doubt, select the default. Now start the EventReporter service. Messages will appear in the dbmon window. With an actual support case, Adiscon will instruct the user when to stop the EventReporter service. Once this is done, information from the dbmon window can be copied to a text file (notepad) via cut and paste. Important: dbmon.exe needs to be active while the EventReporter service is running. Please do not stop it. Unfortunately dbmon is a console application and can not be run as a service. As such, someone needs to remain logged onto the machine as long as the test is running. Locking the machine is fine during that time. Once the information is stored in the text file, the user might want to edit it and remove any offending information, e.g. internal IP addresses, passwords etc. Then, the file can be emailed to Adiscon for further analysis. Product UpdatesEventReporter has been developed since 1997. New versions and enhancements will be made available from time to time. Please visit http://www.eventreporter.com for information about new and updated products. Frequently asked QuestionsFor a current list of Frequently Asked Questions (FAQ), please visit http://www.eventreporter.com/en/FAQ. |
EventReporter Registry KeysEventReporter is configurable via the registry. All parameters can be changed dynamically. They are reacquired during each iteration of Service event log read cycle. Please note that during a cycle or the sleep period, parameter changes do not have any effect! The most common mistake is to use a very high sleep time, then modify it and expect EventReporter to immediately start running. In order to save valuable system resources, this is not possible. However, as soon as the service restarts or enters active state again, the new settings are in effect. Starting with version 4.0, EventReporter has a GUI configuration program, the EventReporter Client. all options are customizable via the client. So there is no need to modify the registry directly. However, we still document the most important registry keys in order to facilitate mass rollouts and unattended installs. If you need to have complete registry details, please contact Adiscon support. If you need to customize the product without the EventReporter client available, you can do so via Windows Regedit. Please see "How to use REGEDIT" if you are new to direct registry editing. All EventReporter registry keys are stored under "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ and it's subkeys. There are 4 locations for configuration parameters:
Windows 2000 specific parameters are stored in 3 additional subkeys:
All configuration parameters stored directly under the "Parameters" key modify the general processing mode of EventReporter, e. g. how long its sleep period will be. The parameters below the other keys configure EventReporter when processing the respective part of the NT event log: the System, Security and Application, DNS, etc log. Under each of these keys there is the same set of parameters with the same names. Depending under which subkey they are stored, they'll configure EventReporter when processing the corresponding part of the NT event log. E. g. the nFacility parameter specifies the facility value to use when sending log entries to the syslogd. The nFacility under "Parameters\System" specifies the facility value for system event log entries while the same parameter under "Parameters\Application" specifies the facility level for application events. General ParametersAll these are directly beneath the "Parameters" key. nSleepTimeType: DWORD value. This one is important. It determines the sleep time in milliseconds. Please note the "milli" in this word. One second is 1000 milliseconds. The most common error is to specify 60 instead of 60000 if you want a sleep period of 1 minute. nDBCSEnabledType: DWORD value. This parameter controls handling of double byte character sets (DBCS). DBCS are used mostly for Asian languages like Japanese or Chinese. If the Windows event log contains entries with DBCS characters, this switch must be set, otherwise the messages most probably will not display correctly. If DBCS support is enabled, control character filtering and space compression is turned off. Value 0 means DBCS is disabled. This is the default value. A value of 1 enables DBCS support in EventReporter. szTargetType: string value This is either the IP address or the system name of the system running the syslog daemon. You need to change this setting in order to make EventReporter do something intelligently, as the default is "127.0.0.1" which is your local machine. But theres your event log anyway, isnt it. If you use a symbolic system name, be sure this one is resolvable either via DNS, WINS or the local hosts file. If it is not resolvable, EventREporter silently will not work. For performance reasons, we recommend using an IP address rather than a symbolic name. szTarget2Type: string value This parameter is optional. It is not written by the service installation script. Use szTarget2 if you want to send syslog messages to two machines at once. If present, szTarget2 is used as a backup host, which receives a copy of every message sent out to szTarget. Format is the same as szTarget. However, if this parameter is not present, no second message is sent (there is no default as in szTarget). szLicenseeType: string value This is the name of the licensed user. The trial version does not have a licensee name string. It specifies "unregistered". If you register your copy of EventReporter, you specify the license string of your choice. If it is not already used by another user, you will receive a matching license number (next parameter, nLicenseKey) from Adiscon. Enter both the license name and key into the registry. This will turn off the trial version warning. If it doesn't turn them off, be sure to check if both the name and number are correctly entered. Please note that this parameter is case-sensitive! nLicenseKeyType: DWORD value. This is the license key issued by Adiscon. It must match the license name (szLicensee, see directly above). If it does not match, the EventReporter service will not recognize your installation as licensed. bAddFacilityStringType: DWORD value. This controls enhanced compatibility to standard syslog format. If set to 1, the facility string "EvntSLog:" is added to the syslog message sent. EventReporter versions prior to 3.1 did not support this. So if you have written scripts to work together with pre 3.1 versions, you might need to turn this feature off in order to preserve your scripts. To turn this behavior off, set this parameter to 0. This parameter also controls severity codes. They are output right after the facility sting ("EvntSLog:"). Severity codes are: [AUS] - audit success, [AUF] - audit failure, [WRN] - warning, [INF] - informational, [ERR] - error. Severity codes are only written if bAddFacilityString is 1. iSyslog1OutputEncodingType: DWORD value. This parameter is mostly of use for users with double byte character sets (e. g. Asian languages). It specifies the output encoding used for the syslog message sent to the szTaget1 syslog server. Possible values are:
The default value is 0, which uses the system default encoding. iSyslog2OutputEncodingType: DWORD value. Same like iSyslog1OutputEncoding except that it configures the encoding for the szTarget2 syslog server. nLastSyslogMsgNbrType: DWORD value. Last message number used when sending syslog output. This is a simple counter that is incremented when each message is sent. There is no way to change this parameter via the client program (intentional left out). bShowSyslogMsgNbrType: DWORD value. Boolean controlling the output of syslog message numbers. If set to 0, no message numbers will be generated. If set to non-zero (e.g. 1), each syslog message send has a unique message number (message ID). The numbers are incremented at each message. If they do not show up serially at the syslog daemon, messages have been lost. Turning on syslog message numbers is another security feature. If someone has managed to "steal" some messages, at least this fact is logged. The default value is 0 for compatibility reasons. We strongly recommend setting this parameter to 1. nAddLogTypeType: DWORD value. If this value is set to 1, the Logtype of the Event will be added into the generated message. If it is 0, it will not be added. nProtoTypeType: DWORD value. Defines which Protocol is used for Syslog delivery. 0 (Which is also default) is used for UDP and 1 is used for TCP. Other values are not possible. nProtoTypeBackupType: DWORD value. Same as nProtoType, but used for the backup Syslog Server. szReplaceComputerNameType: string value Optional value, if set it will replace the computer name with the value set in this string. Event Log specific Parameters (under "Parameters\..." subkeys)nLastRecordType: DWORD value. This parameter is usually not to be modified. It contains the last event log record read (of the particular event log part). If you would like to get a complete dump of your event log instantly, enter 0 in these parameters. If for any reason EvntSLog is unable to read the event log (e. g. truncated by administrator), it will reset nLastRecord to 0 automatically (that event, too, is logged in the NT application event log). nFacilityType: DWORD value. This setting specifies the syslogd facility to use when sending event log entries. Each subsection of the event log (system, security and application) can be assigned a separate facility. The priority within that facility is automatically mapped based on the NT event type (e. g. error, informational, ...) and can not be manipulated. The "nFacility" parameter holds the base value for a given facility according to the following table.
Values other than specified above can be set but will yield to unpredictable results. We discourage using facilities other than LOG_LOCAL0 to 7. If you do so, be sure to know it's implications on the Unix site. nFilterEventTypeType: DWORD value. Support for local filtering. This parameter is a bit value. It specifies which NT event types are to be reported. It's values are:
If multiple event types are to be reported, their values need to be added. One example: warning and error message shall be reported. Their respective values are 2 and 4. These are added, resulting in a value of 6. This is the value the "nFilterEventType" parameter is to be set to. The default value is 255 which means "report all events". bReportTruncatedLogType: DWORD value This controls whether or not a log truncation will be logged to the event log (and thus be
reported). Please note that a truncated NT event log can be caused by an intruder.
So it might be a good idea to leave this parameter to 1 (on) on a security
sensitive system. nDeliveryMethodType: DWORD value. Sets type of delivery method. 0 (default) is reporting via syslog protocol, 1 is email reporting. More information about the email reporting properties can also be found in the EventReporter Client documentation. szSMTPSenderType: String Value Email address to be used as sender address ("MAIL FROM"). Can be a single email address only. Default is "eventreporter@local". Only used if email reporting is used. Otherwise ignored. szSMTPRecipientType: String Value Email address to report to ("RCPT TO"). Can be a single email address only. Default is "eventreporter@local". Must be customized in order to do operate correctly. Only used if email reporting is used. Otherwise ignored. szSMTPSubjectType: String Value Subject line to be used for email reporting. Default is an empty string (""). Only used if email reporting is used. Otherwise ignored. szSMTPServerType: String Value IP address or resolvable hostname of STMP server. For performance reasons, using the IP address directly is recommended. This server must operate as an forwarder. Relaying to the szSTMPRecipient is required, otherwise email delivery will fail silently. Default is "127.0.0.1" (local machine). Only used if email reporting is used. Otherwise ignored. iEMailOutputEncodingType: DWORD value. This parameter is mostly of use for users with double byte character sets (e. g. Asian languages). It specifies the output Encoding used for the syslog message. Possible values are:
The default value is 0, which uses the system default encoding. Filter Rule SetsEvents are filtered based on the global filter list. The list is stored in the log specific parts of the EventReporter registry key. Consequently, there is one filter list for each of the possible event log types. All keys related to a filter list have a trailer that consist of a numerical value. This value is the position of this entry in the list. Values start with 1 and run upwards as needed (there is a theoretical limit of 4 giga entries in the list). While applying the list, processing is strictly begun with the filter rule number 1 and moved numerically upwards until a match is found. As soon as a match is found, filter processing terminates for this event. The action from the matching entry is then taken as processing instruction. Currently, only two actions are defined: either process or discard the event. Future product versions will include a much richer filter engine as well as more powerful actions (code is already being written at the time of this writing - it will be part of the EventReporter 6.0 product). A match is detected, if all specified criterias met the current event. It is important to know that not all criterias need to be specified for a given filter. In that case, the other criterias are not to be stored in the registry. This is very important: do not leave them blank but make sure they are not present! In that case, the missing parameters will not be considered for checking the match. The following registry keys build the filter list. As already said, they are stored under the log specific registry nFilterVersionType: DWORD Current version of the filter list. Just for detecting changes. Starts at 0 and is incremented each time the filter changes. The actual value does not really matter, as long as it is different from the value it had when the filter list was read the last time. In this case, EventReporter will reload the filter list. Important: If registry changes are applied to the filter list and nFilterVersion is not incremented, EventReporter will reload the filter list at the next service startup. A running instance will not reload it! nFilterRulesType: DWORD The number of rules in the filter list. Must exactly match the number of rules. FR#ActionType: DWORD Please note: this key is written multiple times to the registry. It is part of the filter list. The #-sign is to be replaced by the actual number of the rule, e.g. FR1, FR2, FR3 and so on. Indicates the action to carry out if this rule matches. Currently only values 0 and 1 are defined. If it is set to 0, the event is discarded. If it is 1, it is to be processed (either send via syslog or email). Other values then 0 and 1 lead to unpredictable results. FR#EventSourceType: String Value Please note: this key is written multiple times to the registry. It is part of the filter list. The #-sign is to be replaced by the actual number of the rule, e.g. FR1, FR2, FR3 and so on. This is the name of the event source that generated the event. Please note that in order to match, it must be an exact match, including case. If in doubt, look up the name in NT Event Viewer before setting this filter. FR#EventIDType: DWORD Please note: this key is written multiple times to the registry. It is part of the filter list. The #-sign is to be replaced by the actual number of the rule, e.g. FR1, FR2, FR3 and so on. Numerical value. Corresponds to the EventID of a given event. FR#EventTypeType: DWORD Please note: this key is written multiple times to the registry. It is part of the filter list. The #-sign is to be replaced by the actual number of the rule, e.g. FR1, FR2, FR3 and so on. The type of event to check (as can be seen in NT Event Viewer or the output of EventReporter). FR#EventCategoryType: DWORD Please note: this key is written multiple times to the registry. It is part of the filter list. The #-sign is to be replaced by the actual number of the rule, e.g. FR1, FR2, FR3 and so on. The event category to check (as can be seen in NT Event Viewer or the output of EventReporter). FR#EventUserType: String Value Please note: this key is written multiple times to the registry. It is part of the filter list. The #-sign is to be replaced by the actual number of the rule, e.g. FR1, FR2, FR3 and so on. This is the name of the event user that generated the event. Please note that in order to match, it must be an exact match, including case. If in doubt, look up the name in NT Event Viewer before setting this filter. How to use REGEDITUse the Windows NT run command and type "regedit" (NT 3.5 users please type "regedt32") as the program to run. Once regedit has started, you see several configuration settings. Please navigate the tree structure by clicking the elements. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Please note that this is all on a single line. The following screenshot displays a sample configuration.
Please note the parameters on the right side. Double-click the ones you would like to modify. The following picture shows the dialog appearing after double-clicking nSleepTime:
Please note the "Base" setting on the right side. The default is hexadecimal, which usually is not very user friendly. Change this to "Decimal" as show above. The "Value Data" holds the value you would like to set. After modifying the value, click "OK" and the registry will be updated. EvntSLog will shortly accept the new parameter. |
Background InformationThis section holds some background information that might be useful for some users. The Facility CodeEventReporter originally was written to integrate Windows event log information into Unix syslog based management systems. Of course, the product has evolved very much since them and now is very successfully used to monitor Windows systems by itself. Nevertheless, there are a number of references to the so-called syslog facility code. If you are not familiar with syslog, these might be confusing. So here is some background on syslog facilities that hopefully clears up things: The facility is a code inside the syslog message. From a technical point of view, it is just a numeric value. From the application point of view, it is typically used to filter incoming messages at the receiving server. Thus, you might designate a specific facility to event messages stemming from the system event log. At the (syslog) server side, that facility can then be used to direct these messages to a specific log file, database table or whatever. The set of possible facilities is very limited. Our registry section has a complete list of them. Typically, some of the LOCAL0 to LOCAL7 facility codes are used for applications. By convention, the others should be reserved for the respective Unix operating system components. But of course you are free to use them. So at the bottom line, there is no need to care for facility codes if you do not see a need for them in you application and system monitoring setup. For example, if only email delivery is desired, the facility codes do not play any role at all. Also, the WinSyslog and MoniLog products do not rely on the facility - but WinSyslog can be configured to handle different facilities differently, so you might want to consider this option. Format of EventReporter generated XML MessagesEventReporter 5.3 uses XML formatted messages as a primary reporting means. XML has the advantage of being extensible as required. It can also easily be parsed with most scripting languages and programming systems. The XML message is embedded in whatever "transport" (syslog or email) EventReporter uses. A typical syslog message in EventReporter XML format looks like:
Right after the syslog header (which ends in EvntSLog:), the XML data starts. A more structured form of the same data looks like this:
As can be seen in this structured view, there is an so-called "event" entity. This entity contains all attributes of the event log record beneath it as separate XML tags. None of them has any specific attributes. As of now, there is no further level down the tree - but this can change. An parser should note that the event log record might have all, some or even none of the XML tags. Even in the last case it is validly formatted - though of course useless. But even in this case the parsing script should not fail. For reference, the following log properties are defined currently:
Please note that there is also a previous legacy format available. We highly recommend basing new scripts or products on the XML format because of its many advantages. |
Version HistoryThis short history shall provide you with some background information about the versions available as well as their pros and cons. This is user driven software. Please provide us with your feedback. Many features have become reality with the help of envisioning users! 1.0This is the initial release. Made available on March, 23rd 1997. It provides all the basic functionality, but has some restrictions:
2.0 beta 2The next version publicly offered. It provides these enhancements:
Please note that this version is beta software. 2.0 beta 2aContains one quick enhancement of the installation process. Released shortly after the initial 2.0 beta 2. Didn't change any core functionality.
Please note that this version is beta software, too. 2.0 beta 2b
Please note that this version is beta software, too. 2.0 release versionThere are no functional upgrades when compared to 2.0 beta 2b. However, this is the fully tested and officially released version. 2.1Fixed a bug when using NT SP 4 or some post SP3 hotfixes. These caused EvntSLog to crash when trying to access the security log. 3.0 beta 1This version has been released to the public on September, 22nd 1998. This version is much improved. It contains the following enhancements:
3.0 beta 3This version has been released to the public on November, 1st 1998. Beta 2 was a private build. Beta 3 contains some fixes. This version is scheduled to become the final release.
3.0 release versionThis version (Build 121) has been released to the public on November, 14th 1998. There are no functional upgrades when compared to 3.0 beta 3 except that the build ID is displayed when installing the service. This is the fully tested and officially released version. 3.1This version (build 134) has been released to the public on November, 24th 1999. It is a final release. This version is much improved. It contains the following enhancements:
3.2This version (build 136) has been released to the public on February, 14th 2000, just in the timeframe for Windows 2000 (release February, 17th 2000 by Microsoft). It is a final release. It contains a single enhancements:
4.0This version (build 137) has been released to the public on July, 1st 2000. It is a final release. It contains a the following enhancements:
4.1This version (build 138) has been released to the public on September, 25th 2000. It is a final release, mainly for maintenance reasons. It contains a the following fixes:
4.1.1This version (build 139) has been released to the public on September, 29th 2000. It is a final release fixing a single problem. It contains a the following fixes:
4.2This version (build 140) has been released to the public on November, 6th 2000. It is a final release, mainly for maintenance reasons. It contains a the following fixes:
All users are strongly encouraged to upgrade to this release. 5.0 Beta 2This version (build 142) has been released to the public on November, 29th 2000. It is a first publicly available 5.0 release. It is a beta build. It contains the following fixes and enhancements:
5.0 Final ReleaseThis version (build 145) has been released to the public on November, 29th 2000. It is a first publicly available 5.0 release. It is a production build without any notable differences from Beta 2. 5.1 Beta 1This version (build 147) has been released to the public on 2001-02-07. It is a first publicly available 5.1 release. It is a beta build. It contains the following fixes and enhancements:
5.1 final releaseThis version (build 148) has been released to the public on 2001-03-01. It is the official final release of the 5.1 product. It contains all build 147 features as well as one important fix and a new feature:
5.2 final releaseThis version (build 150) has been released to the public on 2001-04-20. It is the official final release of the 5.2 product.
5.2 SP 1 (service pack 1)This version (build 151) has been released to the public on 2001-06-01. It contains some fixes and enhancements. It is part of all EventReporter download sets beginning at the build date.
5.2 SP 2 (service pack 2)This version (build 152) has been released to the public on 2001-07-16. It contains some fixes and enhancements. It is part of all EventReporter download sets beginning at the build date.
5.3 final releaseThis version (build 157) has been released to the public on 2002-01-21. It contains some fixes and major enhancements. It is part of all EventReporter download sets beginning at the build date.
5.4 Release Candidate 1This version (build 160) has been released to the public on 2002-08-02. It contains some fixes and some minor enhancements.
5.4 Final ReleaseEventReporter 5.4 (Build 163) has been released into public on 2002-10-11. The new version offers the same as well as new enhancements (As bug fixes) as the 5.4 Release Candidate 1
Please note that there was a minor update to service build 158 on 2002-01-28 fixing a bug in the advanced filter rules. As it was a minor fix, we did not increase the version number. If you experience problems with the advanced filter rules, make sure you have build 158. This can be seen in Help/About. |
Purchasing EventReporterThe LicenseFor full license details, please see the license displayed during setup. This section here covers the most important points, but is not the complete license. EventReporter is distributed as Shareware. You are free to use the product for evaluation. However, if you feel comfortable with it and plan to use it for an extended period of time, you must register with Adiscon and pay the license fee. A license is needed for any system the EventReporter service is running on. It does not matter if the operating system is a workstation or server version. Please support further development by registering the product. There is a license fee per system the EventReporter service is running on. No license is required for the EventReporter client. BBS sysops feel free to include the distribution set of this product in your library. Please be sure to include the full set (program & this documentation). Any questions can be directed at Info@Adiscon.com. LiabilityPlease use the evaluation period to check if EventReporter is suitable for you and your system environment. We encourage you to try EventReporter in a test environment. We accept no liability for any damage during the evaluation period. Liability for registered users is limited to the amount of the registration fee. Are there any restrictions in the unregistered trial version?No, the version is fully functional for 30 days. It identifies itself as such. From time to time, it sends "EvntSLog 4.0 SHAREWARE Version Please Register" to the syslog daemon. PricingFor orders outside of Germany, the fee is $US 49 (plus tax if applicable). European Community orders are EURO 65,-- including 16% VAT. European Community residents with VAT identification number should state this number in order to recieve tax exemption. If not stated, full VAT will be charged. All Euro Zone orders will be processed in EURO. US$ payment is available for international customers, only. Please call for volume orders (info@adiscon.com). How to orderMost convenient way - order online: https://secure.adiscon.com/EventReporter/en/. If you do not like to order only, registration is still as simple as 1-2-3:
We accept all major credit cards. We do also happily accept purchase orders from all countries (except some very few countries we are not allowed to deal with by law for being on the international embargo list). For details, please visit http://www.adiscon.com/Common/en/OrderByPO.asp If you need any additional payment options, please contact us at Info@Adiscon.com or the below given addresses. Direct your orders to: Adiscon GmbH Fax: +49-2235-985032
Order FormYour order can be placed using the following form. If you would like to order online, please visit https://secure.adiscon.com/EventReporter/en/. If you'd like to order by mail or fax, please print out the order form and sign it.
EventReporter Order Form Please sign: ________________________________________________________ and forward this form to Adiscon GmbH Fax: +49-2235-985032
MiscellanousYear 2000 Compliance StatementEventReporter has been designed to avoid any problems that may occur with the change of century. There are no dates stored internally in a manner that might make them susceptible to errors due to the century change. EventReporter also does not contain any date specific operations. Any date directly written by EventReporter is output as 4 digit year. EventReporter itself is Year 2000 Compliant. Note: This statement does not in any way guarantee that EventReporter will correctly operate across the Year 2000 boundary on any machine whos BIOS and operating system is not Y2K compliant. Also please note that EventReporter forwards event log records written by a vast variety of products. We cannot guarantee that all of this products are year 2000 compliant. EventReporter simply forwards what is written to the event log, so be sure to check with the other vendors. As of this writing (January 2002) we have not received a single support call regarding Y2K issues. So it seems to be fairly proven that there are no problems at all. CopyrightsThis documentation as well as the actual EventReporter product is copyrighted by Adiscon GmbH, Germany. Microsoft, Windows, Windows 2000, Windows XP and Windows NT are registered trademarks of Microsoft Corp., Redmond, WA, USA. Other mentioned trademarks are copyright of there respective owners. Other Products of InterestYou might be interested in Adiscon WinSyslog. This is a syslog daemon for Windows NT. It might be useful when evaluating EventReporter as it allows you to run both the logger as well as the daemon on a single machine for immediate feedback. If also allows central consolidation of NT event logs. Adiscon's MoniLog then allows to automatically analyze them. MoniLog creates consolidated HTML reports based on the data collected by EventReporter. EventReporter ist part of the MonitorWare line of products. |
Copyright (C) 1997-2002 Adiscon GmbH. All rights reserved.