FRENDS Technology logo

FRENDS RADON DOCUMENTATION

CONTENTS


TERMS OF DELIVERY AND USE

These Terms of Delivery and Use (“Terms”) shall apply to FRENDS Radon software in object code form and any related documentation (“Product”) ordered and delivered to the licensee (“you”) by Frends Technology Inc (“FRENDS”).

You agree to be legally bound by these Terms by selecting the accepting option below or by using the Product. If you do not agree to these Terms, do not download or use the Product.

General

You may download an evaluation version of the Product, in which case you are entitled only to evaluate the Product before purchasing a commercial version of the Product. When you download and purchase the commercial version of the Product, you shall first pay an applicable license fee with your credit card or other payment methods available. After the due payment, FRENDS shall deliver you a registration code, which enables the operation of the Product.

It is important, and therefore you represent and warrant, that the identification and contact information you have provided to FRENDS in connection with your order for the Product is accurate and complete. Otherwise FRENDS may not be able to verify your payments and deliver you the necessary registration code. All identification and contact information will be subject to the privacy policy of FRENDS.

You shall be responsible for acquiring at your own expense all necessary software, equipment and telecommunications for using the Product.

The Product is neither intended nor fit for the use of consumers but companies only. Furthermore, the Product is not designed to be fault-tolerant and therefore it is not intended for use in hazardous environments that require fail-safe performance, such as in connection with life critical applications and systems.

Licenses of Evaluation Version and Commercial Version

You have a limited, non-exclusive and non-transferable right to install and use one (1) copy of the Product on one (1) server or workstation.

If you have downloaded an evaluation version of the Product, you are entitled to use the Product, free-of-charge, strictly for the sole purpose of evaluating the features and usability of the Product, during a period of thirty (30) days from the day you downloaded the Product.

If you have downloaded a commercial version of the Product, you are entitled to use the Product, subject to the payment of an applicable license fee, strictly for your internal business purposes only.

In addition, you shall not (i) make other one (1) back-up copy, modify, work around any technical limitations, decompile, disassemble, reverse-engineer, or create derivative works based on, the Product; or (ii) assign, transfer, sublicense, rent, or otherwise distribute or make available, the Product or your limited right to use the Product; save to the extent that otherwise expressly provided for by mandatory provisions of applicable law.

No Warranty, New Delivery

The Product is licensed strictly “AS IS” without any warranty, express or implied, whatsoever, including but without limitation to warranties of merchantability, fitness for any particular purpose, performance or non-infringement. You shall assume the entire risk for your use of the Product. FRENDS shall have no obligation to provide you with maintenance, support or other consulting services, or upgrades of the Product.

However, if you have downloaded, and duly paid for, the commercial version of the Product, but there have been errors in the transmission that prevent the operation of the Product, and you are not able to reload the Product, you should inform FRENDS without delay. FRENDS shall then make the Product available for a new downloading over Internet, or send the Product via email or ordinary mail to you. In case of an ordinary mail, you shall bear the costs of shipping.

Property Rights and Confidentiality

Title, ownership and all intellectual property rights to the Product belong exclusively to FRENDS or any supplier of FRENDS. You are granted only a limited right to use the Product.

Aspects of the Product, including the specific design and structure, and registration codes enabling the use of the Product, are confidential and trade secrets of FRENDS or any supplier of FRENDS. You shall maintain such information as strictly confidential, and shall not disclose them to any third party or use them for any unauthorized purpose.

Limited Liability

Due to the fact that the Product is licensed to you strictly on an “AS IS” basis without any warranty, to the maximum event permitted by the applicable law neither FRENDS nor any supplier of FRENDS shall be liable for any damages whatsoever, including but without limitation to direct, indirect, special, consequential, punitive or incidental damages, and loss of revenue, profit or data. In any case the maximum liability of FRENDS shall be EUR 100.00. These limitations of liability constitute an essential part of these Terms. However, should your authorized use of the Product violate any third party intellectual property rights, FRENDS shall compensate you for the license fee you have paid provided that you inform FRENDS of the suspected or actual violation without undue delay and discontinue the use of the Product.

Laws and Forum

This Agreement shall be governed by substantial laws of Finland. Any and all disputes arising out of these Terms shall be intended to be settled amicably. In case an amicable settlement is not reached, the dispute shall be submitted to the District Court of Helsinki, Finland.

Please note that you must use the Product in compliance with applicable export and import laws, regulations and rules, if any.

Termination of License

Each license to the Product shall terminate immediately and without notice in case you are in breach of these Terms, with the exception of such provisions that by their nature are intended to survive the termination of these Terms. Furthermore, FRENDS shall not be obligated to refund the license fee to you.

Entire Agreement, Amendments

These Terms constitute the entire agreement between you and FRENDS, and shall supersede any previous written or oral agreements and understandings, in relation to the subject matter of these Terms. Any and all amendments to these Terms shall be made in writing and expressly accepted by both you and FRENDS.


OVERVIEW

FRENDS Radon is a light-weight tool that emails reports from events in Windows application event log.

FRENDS Radon works on Windows Server 2003 R2 / 2008 and requires .NET Framework 3.5 SP1 to run

To run FRENDS Radon, you first need to configure it, telling which events to report and where to send the report to. This is done by creating a configuration file named Frends.Radon.exe.config' and placing it in the same folder as the executable (Frends.Radon.exe).

The included example configuration file Frends.Radon.exe.exampleconfig directs FRENDS Radon to create HTML error report of Windows application log events and then sends the error report by email. The sample configuration uses the following settings that should be changed:

For more details on the configuration, see section Configuration file contents below. Sample FRENDS Radon report Picture 1: Example of an error report generated and sent by FRENDS Radon.

SETTING FRENDS RADON TO RUN AS A SCHEDULED TASK WITH WINDOWS TASK SCHEDULER

On Microsoft Windows Server 2003

Note that Frends.Radon.exe requires that the configuration file is placed in the same directory as the executable.

On Microsoft Windows Server 2008


SETTING FRENDS RADON TO RUN WITH FRENDS IRON

FRENDS Radon also comes as a Windows Workflow Foundation 3.5 version that can be run with FRENDS Iron, allowing more versatile scheduling and parameterization. The workflow version uses the same parameters as the standalone .exe version.

To set up the workflow with FRENDS Iron:

FRENDS Radon parameters are described in configuration element descriptions. Though parameter names are quite self-explanatory, their correspondences to workflow parameters and possible differences are described here:

Updating FRENDS Radon

Updating with the FRENDS Iron Configuration:

Updating existing tasks manually:

Refer to the FRENDSRadonTutorial.htm for more information on how to accomplish the tasks above.

The old tasks and connection points should work with the new assemblies. Note that when updating from versions prior to 1.3, you will have to update the task. This is because the assembly has been strong named and it cannot be referenced by previous assembly type name. You can fix this from the Radon task properties by reselecting the Frends.Radon.WF.dll


CONFIGURATION FILE CONTENTS

FRENDS Radon comes with a example config file Frends.Radon.exe.exampleconfig with the following contents:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="Frends.Radon.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <applicationSettings>
        <Frends.Radon.Properties.Settings>
	    <!-- Mail sending settings -->
            <setting name="SmtpServerName" serializeAs="String">
                <value>smtp.somedomain.com</value>
            </setting>
            
            <setting name="PortNumber" serializeAs="String">
                <value>25</value>
            </setting>
            
	    <!-- Time in milliseconds the SMTP connection can be idle before it is closed -->
            <setting name="MaxIdleTime" serializeAs="String">
                <value>100000</value>
            </setting>
            
	    <!-- email address to be used as sender address 
	    NOTE: Some SMTP servers filter the sent messages based on the sender address, so make sure your server accepts this address -->
            <setting name="SenderAddress" serializeAs="String">
                <value>notification_noreply@somedomain.com</value>
            </setting>
            
	    <!-- The email recipients -->
            <setting name="Recipients" serializeAs="Xml">
                <value>
                    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                        <string>john.doe@somedomain.com</string>
                        <string>jane.doe@somedomain.com</string>
                    </ArrayOfString>
                </value>
            </setting>
            
	    <!-- Text to be displayed as email aubject -->
            <setting name="Subject" serializeAs="String">
                <value>System event report</value>
            </setting>
            
	    <!-- text to be displayed as email sender name -->
            <setting name="SenderName" serializeAs="String">
                <value>FRENDS Radon</value>
            </setting>
            
	    <!-- Some SMTP servers require mail clients to be authenticated. 
	    If you set this setting true, the credentials for the user account running the exe will be provided. 
	    If this is false, the Username and Password settings below are used. If those are left empty, the email is sent anonymously.-->
	    <setting name="UseWindowsCredentials" serializeAs="String">
                <value>True</value>
            </setting>
            
            <setting name="Username" serializeAs="String">
                <value />
            </setting>
            
            <setting name="Password" serializeAs="String">
                <value />
            </setting>
			
	    <!-- Filter settings -->
	    <!-- From how long from the past we want to report entries? 
	    This setting should match the schedule, i.e. if you send the report every hour, you should set the time limit to 1:00:00, or one hour -->
            <setting name="TimeLimitFilter" serializeAs="String">
                <value>1.00:00:00</value> <!-- reports entries from the past 24 hours -->
            </setting>
            
	    <!--  The maximum number of messages to include in a report 
	    200 by default if you don't give anything. To return all, set this to 0 -->
            <setting name="MaxMessages" serializeAs="String">
	        <value>200</value> 
            </setting>
            
	    <!-- The filter string. If empty, all entries will be reported -->
            <setting name="FilterString" serializeAs="String">
                <value>EntryType = "Error"</value> <!-- reports only Error entries -->
            </setting>
			
	    <!-- The name of the remote computer whose event log to read, if required, leave empty if local -->
            <setting name="RemoteMachine" serializeAs="String">
                <value></value>
            </setting>
			
	    <!-- The name of the event log to read, if required. Defaults to Application when left empty -->
            <setting name="EventLogName" serializeAs="String">
                <value></value>
            </setting>

	    </Frends.Radon.Properties.Settings>
    </applicationSettings>
</configuration>

Configuration element descriptions

SMTP settings

SmtpServerName
Server name or IP address of host to be used for SMTP actions.
PortNumber
Port number for SMTP actions. Should be 25 by default
MaxIdleTime
Sets up a time (in milliseconds), enclosed in value-tags, how long connection can remain idle before it is closed.
UseWindowsCredentials
If SMTP server requires authentication and default credentials of currently logged user's are wanted to use, set this value to 'True'. If this value is set to 'False' and no username and password are not given in elements below, email is being sen Anonymously.
NOTE: If credentials are used, they are being sent in clear text to the server.
Username -optional
SMTP username for sending email. If default credentials are being used or anonymous access is allowed on server an is used, username and password configuration elements can be left blank.
NOTE: Username is being sent in clear text to the server.
Password -optional
Password for SMTP user.
NOTE: Password is being sent in clear text to the server.

Email details

SenderAddress
Email address to be used with sent emails. NOTE: Some SMTP servers filter the sent messages based on the sender address, so make sure your server accepts this address
SenderName
Display name for email address, which is shown as the sender name in emails.
Recipients
Recipient(s) to whom the event report should be sent. Each recipient must be enclosed in separate string-tags
Subject
Text to be displayed on email subject line.

Filter settings

TimeLimitFilter
From how long from the past we want to report entries? This setting should match the schedule, i.e. if you send the report every hour, you should set the time limit to 1:00:00, or one hour
NOTE: This is parsed to a Timespan, the format is d.HH:mm:ss
MaxMessages
The maximum number of messages to include in a report. 200 by default if you don't give anything. To return all, set this to 0.
RemoteMachine
The name of the machine whose event log will be read. Leave this empty if the target machine is the local machine.
NOTE: Reading a remote eventlog is much slower than reading a local eventlog.
Additionally the user with which FRENDS Radon is run must be able to read the event log, this can be achieved by adding the user to the target computer's Event Log Readers group.
EventLogName
The name of the event log which will be read, e.g. Application or Security. Defaults to Application if left empty.
FilterString
The filter string to use. See the section Filter string below for details and examples

FILTER STRINGS

The filter string can be used to choose which events are reported. If the string is empty, all entries will be returned.

The filter string is essentially a simple condition string a bit like SQL WHERE -clause. You define the filters using entry properties and operators (And, Or, Not, =, >, <, <> etc.). All strings need to be enclosed in double quotation marks ("). For the string-valued properties, like Message, you can call methods like Contains(), StartsWith(), EndsWith() etc.

The following table shows some examples of filter strings and what they will return.

FilterReturns
EntryType = "Error" Entries of type Error (i.e. those entries showing the red ball with a cross in event viewer)
EntryType = "Error" Or EntryType = "Warning" Entries of type Error or Warning
EntryType = "Information" Entries of type Information. NOTE: This filter will not return any Error or Warning type entries see the next filter for that
ErrorLevel >= 0 Entries of type Information, Warning or Error
EntryType <> "Information" Entries of type other than Information. NOTE: This includes also those entries with no type or the SuccessAudit/FailureAudit type
Message.Contains("foo") Entries whose description contains the string "foo"
Source <> "BizTalk Server 2009" Entries whose source is not "BizTalk Server 2009"
EventID = 2345 Entries with Event ID 2345
EventID > 1000 And EventID <= 2000 Entries with Event ID in the range of 1001 to 2000
(EventID > 1000 And EventID <= 2000) Or EventID = 345 Entries with Event ID either in the range of 1001 to 2000 or 345

The table below shows the entry properties you can use in your queries.

PropertyDescription
EntryTypeThe Type of the entry. Can be Error, Warning, Information, SuccessAudit or FailureAudit. Note that even though the property is an enum, you cannot compare it against integers - use the ErrorLevel property for that
ErrorLevelError level. This field is a mapping from the EntryType, and the value can be -1, 0 (Information), 1 (Warning), 2 (Error), 3 (SuccessAudit) or 4 (FailureAudit). ErrorLevel is meant for creating simple filters that return all error and warning messages (ErrorLevel >= 1), for instance.
SourceThe Source name of the application that generated the entry, e.g. "FRENDS Helium", "MSSQLSERVER" or "BizTalk Server 2009"
MessageThe localized message associated with the entry
EventIDThe application specific event identifier for the entry
TimeGeneratedThe time the entry was generated to the log. Note that you should use the TimeLimitFilter of the configuration for filtering based on time
CategoryNumberThe optional category number of the entry, if it has one defined
CategoryThe string describing the category of the entry, if it has the category number defined
InstanceIDThe InstanceId property. It uniquely identifies an entry using the full 32-bit resource identifier
IndexThe index of the entry in the event log.

VERSION HISTORY

DateEditorDescription
2009-11-04Jouko HolappaAdded details on running FRENDS Radon with FRENDS Iron. XHTML 1.0 validated.