Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Kiwi Syslog Server > Kiwi Syslog Server Run Script task

Kiwi Syslog Server Run Script task

Table of contents

Updated August 22, 2016

Overview

The Run Script task allows you to run a Kiwi Syslog Server Run-Script.

Environment

All Kiwi Syslog versions

Detail

Any Run Script task can be scheduled to occur over any interval or at any date and time desired, during application/service start-up or shutdown.

Whether a Run Script task is scheduled or not, it consists of the following two parts:

•    Run Script Options
•    Run Script Notification

 

Run Script options

  • Script file name
    The script file is a standard text file that contains the script commands. The file name can have any extension, but .txt is used by default for ease of editing with Notepad.
  • Script description
    This field can contain any descriptive text you like. Its purpose is to briefly describe the function of the script.
  • Script language
    Windows Script provides two script engines, Visual Basic® Scripting Edition and Microsoft JScript®.
    VBScript - A variation of Visual Basic or VBA (Visual Basic for Applications) used in MS Word and Excel. This language is easy to learn and has a rich feature set. See the Microsoft website for more information on VBScript.
    VBScript - A variation of Visual Basic or VBA (Visual Basic for Applications) used in MS Word and Excel. This language is easy to learn and has a rich feature set. See their online page for more information on JScript.
    Both languages offer similar functionality and speed, so the choice on which to use is up to personal preference. However we have found through our tests that if your script is performing mainly string manipulation then JScript appears to be faster in most cases.

 

It is also possible to add additional scripting languages such as Perl or Python. To do this, you will need to install the Active Scripting engines for any new languages that you want to script in.

See the PerlScript website for more information about this.

You can also check out Python's website for a more details. 

To download and for further information on ActiveScriptRuby, check out their website.

 

Field Read/Write permissions

For reasons of security and speed, access to the message/scripting variables can be restricted. Each time a script is run, the message fields are copied to the script variables and back again upon completion of the script. Because the copying takes time and uses CPU cycles, limiting the read/write access to only the variables you want to use will improve the speed of the program.

When you enable read access for a group of fields, their values will copied into the script variables and will readable from within the script.

When you enable write access for a group of fields, their values will copied from the script variables and will replace the equivalent program fields.

The fields are divided into groups based on the likelihood of usage within a script.

More details on each of the fields can be found here.


Run Script Notification

  • E-mail format
    The Run Script report can be generated and sent in either HTML or plain-text format.
    Send Run Script Notification Report by e-mail:
    If selected, an e-mail containing the Run Script report will be sent to the e-mail address specified in the "Recipient(s)" field.
  • Recipient(s)
    Comma or semi-colon delimited list of e-mail addresses, which are to receive copies of the Run Script report.
  • Send Run Script Notification Report to disk
    If selected, an file containing the Run Script report will be sent to disk using the file name and path specified.
Last modified
16:39, 21 Aug 2016

Tags

Classifications

Public