19.07.2014 Views

OneSight Administrator Guide

OneSight Administrator Guide

OneSight Administrator Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring TCP/IP Socket Monitors<br />

Perl Expression –Specifies a Perl Expression used to collect<br />

numerical performance data from a log file entry. The monitor<br />

checks the last entry whenever the log file changes. This<br />

returned data can then be used within <strong>OneSight</strong>, both for<br />

alerting, using threshold alerts, and reporting.<br />

To check whether the file exists, use the File/directory exits<br />

metric type and leave this field blank.<br />

String Mappings – Displays the String Mappings dialog box for<br />

specifying string mappings.<br />

String Mappings – <strong>OneSight</strong> collects numeric performance<br />

data. If you are measuring a log file response that is a string,<br />

it can be converted to a number for use in <strong>OneSight</strong> by using<br />

the String Mappings field. Simply specify a semicolon<br />

delimited mapping of Strings to Integers. For example,<br />

―false=0;true=1‖; will convert a ―false‖ reading to a 0 value<br />

in <strong>OneSight</strong>, and this will be displayed in <strong>OneSight</strong> Status as<br />

―false=0‖. If you only want to display the string on the<br />

<strong>OneSight</strong> status page, use a colon, rather than a semi-colon to<br />

delimit the values.<br />

If you neglect to provide a mapping for a specific string,<br />

<strong>OneSight</strong> will consider this a Sample Failure, and report the<br />

String that was returned. String Mappings can also be used to<br />

translate a number to a String for display in <strong>OneSight</strong> Status.<br />

This is helpful when numbers represent an objects state.<br />

Note that string matching is case-insensitive and data that has<br />

a colon cannot be used in string mapping.<br />

Record Type – Specifies the operating mode:<br />

Each record is one line – select this option to use one line at a<br />

time operating mode. In this mode each line read from the<br />

file is treated as a single log file entry and is processed<br />

individually.<br />

Chapter 5: Configuring Monitors 341

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!